I'm trying to use gunit on my AST-generating grammar.  I'm new to this so 
started small. 

literal:
<<
123
>> -> (LITERAL 123)
<<
"123"
>> -> (LITERAL "123")

The first test passes, but the 2nd fails with the message  ' testing rule 
literal expected:<(LITERAL 123)> but was:<(LITERAL "123")>'.  This looks 
like a bug in gunit's parsing of the expected string value.  Am I doing 
something wrong, or is there a workaround?  Thanks.


David Wood 
Computing Systems for Wireless Networks
IBM TJ Watson Research Center
daw...@us.ibm.com
914-784-5123 (office), 914-396-6515 (mobile)

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

Reply via email to