[metaas-dev] try statements
Rémi Flament
rflament at laposte.net
Sun Jan 20 19:45:43 UTC 2008
Hi,
Yes it's all fine now, at least with try statements !
But, as usual, I've found another case that doesn't work :-)
Basically semi-colons are sometimes optionals...
In my code I have something like :
if (foo)
{
trace('xyz')
}
and this is valid according to flexbuilder.
Note that there's no semicolon at the end of the statement.
In the specs they talk about "automatic semicolon insertion" in the
paragraph 7.9 :
http://www.ecma-international.org/publications/files/ECMA-ST/Ecma-262.pdf
Personally I think this is stupid and I've corrected my code, but I'm
not the one who wrote the specs :-)
Thank you,
Rémi.
David Holroyd a écrit :
> On Mon, Jan 14, 2008 at 02:23:08PM +0100, R?mi Flament wrote:
>
>> I've found another case which make the parser crash (attached file).
>>
>> The antlr file knows about the try {} catch {} structure but the java
>> model doesn't.
>>
>
> Any better with changeset 592?
>
>
> ta,
> dave
>
>
___________________________________________________________________________
Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son interface révolutionnaire.
http://fr.mail.yahoo.com
More information about the metaas-dev
mailing list