[antlr-interest] (unknown)
Boulanger Jean-Louis
jean-louis.boulanger at hds.utc.fr
Mon Aug 18 14:28:34 PDT 2003
Hello,
I have the same pb
A. with a sub-sub-grammar (twice inheritance) and I don't solve this.
B. and in a grammar with implicite token (token introduce in syntactic rule),
it's not possible to complete the token part of all grammar.
It's a BUG ??
Boulanger JL
> Selon Markus_Heiden at public.uni-hamburg.de:
> > I'm using grammar inheritance and a rule in the sub-grammar is not working
> > because it does not test against the tokens defined in the sub-grammar. In
> > other words, it appears that the generated code did not take into account
> > the tokens defined in the sub-grammar.
>
> > Can anyone else verify whether this is a bug or not.
>
> I had similar problems (described in the forum last tuesday). I 'solved'
> them by adding the complete token {} section of the parser to the token {}
> section of the sub grammar.
>
> Markus
>
>
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
-------------------------------------------------
Laboratoire Heudiasyc. UMR CNRS 6599
http://www.hds.utc.fr
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list