I am writing a language with the parser and lexer in separate files. By
using the tokenVocab= directive, I would think that all the tokens used
by the parser must be defined in the lexer.  However, antlr returns no
errors when I reference a token in the parser grammar that is not
defined in the lexer grammar.   Is this correct behavior is do I have
something configured incorrectly?
 
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