[Gambas-user] gbs3: Comment at last END hides startup method

Tobias Boege taboege at ...626...
Sat Jan 5 22:28:44 CET 2013


On Sat, 05 Jan 2013, Beno?t Minisini wrote:
> Le 02/01/2013 00:56, Tobias Boege a ?crit :
> > Hi,
> >
> > I slightly remember this issue floating around here but I couldn't
> > (re)discover anything but an ancient thread[0] in which it's said that a
> > similar but not identic bug was fixed in rev#2578 which must be aeons
> > ago :-)
> >
> > However, I tested the attached script with the latest gbs3 and it gives
> > error only with the particular 'evil comment' which has the unique property
> > to follow the last END statement in the source file. The error is:
> >
> > ERROR: #24: No startup method
> >
> > If you remove the comment (it suffices put it on the next line), everything
> > works.
> >
> > [0] http://gambas.8142.n7.nabble.com/Gambas-scripter-td21635.html
> >
> 
> It should be fixed in revision #5492.

Confirmed.

Thanks,
Tobi




More information about the User mailing list