[antlr-interest] how to find if parser ate all input?

Edwards, Waverly Waverly.Edwards at genesys.com
Tue Sep 11 13:24:25 PDT 2007


 
That's what the grey means!!!  I've been puzzled by that.
 
 
W.

________________________________

From: antlr-interest-bounces at antlr.org
[mailto:antlr-interest-bounces at antlr.org] On Behalf Of Putrycz, Erik
Sent: Tuesday, September 11, 2007 3:35 PM
To: antlr-interest at antlr.org
Subject: [antlr-interest] how to find if parser ate all input?



In my grammar unit tests, I test if the parser ate the whole input
string. 

With antlr 2.7 this was easy but I cannot figure out how to do this with
antlr 3.

The antlrworks debugger somehow shows them in grey. How is this done?

 

Erik Putrycz, Ph.D - Research Associate / (613) 990 0681

Institute for Information Technology - Software Engineering Group

National Research Council, Canada - Building M-50, 1200 Montreal Road

Ottawa, Ontario, CANADA K1A 0R6

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20070911/a769ebb8/attachment.html 


More information about the antlr-interest mailing list