[metaas-dev] SyntaxException: Unexpected token SUPER

David Holroyd dave at badgers-in-foil.co.uk
Tue Oct 30 13:34:00 UTC 2007


On Tue, Oct 30, 2007 at 03:15:56PM +0200, Sergey Akopkokhyants wrote:
> Here I put some information from FlexBuilder help:
> http://livedocs.adobe.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00001634.html

Ok, so it's the super-statement that you want.


> If I use old lib:
> -  jaxmejs-0.5.2.jar,
> -  metaas-0.7.jar,
> -  antlr-2.7.6.jar,
> -  stringtemplate-2.3b9.jar,
> -  antlr-20070101.jar
> I've got next result:

> This class compiled without any problem in FlexBuilder and mxmlc.exe.

Could be that the grammar included in 0.7 didn't recognise 'super' as a
keyword yet.


> But if I use new lib:
> -  antlr-05-14-2007.17.jar
> -  antlr-2.7.7.jar
> -  jaxmejs-0.5.2.jar
> -  metaas-0.8-SNAPSHOT.jar
> -  stringtemplate-3.0.jar
> Result: *Generate exception*.

Can you update your metaas sources (to revision 539) and try again?

I've added support for 'super(..)' (but not the 'super.f(..)' form).



ta,
dave

-- 
http://david.holroyd.me.uk/



More information about the metaas-dev mailing list