[Gambas-user] (Potential) addition to GB2 -> GB3 converter

Benoît Minisini gambas at ...1...
Sun Jan 20 03:49:02 CET 2013


Le 19/01/2013 19:28, Tobias Boege a écrit :
> Hi,
>
> I can't provide a minimal GB2 project so the somewhat bigger original one is
> attached.
>
> Just open it with a recent IDE and notice that all the lines like
>
> PUBLIC PROPERTY [READ] Name AS Datatype
>
> get converted to
>
> Public PROPERTY [Read] Name As Datatype
>
> which is a syntax error.
>
> This may actually be a non-issue, I just noticed, because the documentation
> doesn't allow PUBLIC|PRIVATE in conjunction with PROPERTY in either Gambas
> version as it doesn't make sense but I'm _convinced_ that the project did
> compile and run with the Gambas 2.23.1 it was created with but I could be
> wrong...
>
> If PUBLIC PROPERTY could be compiled with GB2 it should be recognised by the
> converter and corrected on the fly, right?
>
> Regards,
> Tobi
>

Done in revision #5512, but not really tested!

-- 
Benoît Minisini




More information about the User mailing list