I recently split a combined grammar that I had built into separate
parser and lexer grammars.  I noticed  that in the combined grammar when
I attempt to reference an undefined token, Antlr throws an error.
However, after I split this grammar into separate lexer and parser
grammars, Antlr allowed me to reference lexer tokens in the parser
grammar not defined by the lexer grammar.  These become very difficult
to debug.   Am I missing something, or is the the correct behavior?
 
thanks.
 
 

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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en.

Reply via email to