Hello,

When using grammars written in ANTLR, the parser correctly recognizes 
data from an input stream, but if I have some rubbish text at the end of 
the input (which rubbish text is not supposed to be parsed by the grammar) 
the parser does not complain.

I guess this behavior is all right (I mean the parser did its job and parsed 
whatever I said it should parse), but is there any trick to detect when there 
is any data left in the input after the parser has done its job? 

Thanks,
Gabi.

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