[antlr-interest] Parsing a Cucumber-like language in ANTLR
Bernard Kaiflin
bkaiflin.ruby at gmail.com
Tue Nov 20 12:43:39 PST 2012
Improvement :
>You'll have to add more tokens to recognize special characters that can
appear in the free text,
> as told by messages like "token recognition error at: '('".
If you replace SPECIAL by
OTHER : . ;
all special characters will be matched by the dot which means any character.
$ grun Cucumber file -tokens -diagnostics -trace t.cucumber
[@0,0:10='Description',<6>,1:0]
no more errors.
More information about the antlr-interest
mailing list