[antlr-interest] gunit bug in parsing expected string values?
David Wood
dawood at us.ibm.com
Wed Nov 9 09:11:26 PST 2011
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
dawood at us.ibm.com
914-784-5123 (office), 914-396-6515 (mobile)
More information about the antlr-interest
mailing list