Just a minor fixup for anyone who stumbles on this thread. Yesterday I wrote:

>So far as I know, there is no impact of order in which the lexer and parser 
>rules appear in the .g file.

... I later realized this could be misleading. I meant order of lexer rules 
relative to parser rules. Ie: lexer rules can come before, after or 
intermingled with parser rules.

By contrast, there *is* an impact to the order in which lexer rules are 
presented, for example, relative to each other. 

At least, that's today's understanding :-).

-- Graham


List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org/mailman/options/antlr-interest/your-email-address

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"il-antlr-interest" group.
To post to this group, send email to il-antlr-interest@googlegroups.com
To unsubscribe from this group, send email to 
il-antlr-interest+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to