Hi,

I have a grammar that does not give an error (in ANTLR 3.2) if there are
extraneous characters at the end of the input.  For example, I would expect
"(a+b))" to generate an error, but it does not.  "(a+b)" is parsed fine and
the extra ")" at the end is just ignored.

I enclose a small sample grammar that demonstrates this problem.  I am using
the C runtime, but the problem is not there.  The error is not detected in
ANTLRWorks 1.4 either.

Any help anyone can give me would be greatly appreciated.

Thank you,

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

Attachment: Test.g
Description: Binary data

-- 
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