Posted By:
James_soper
Posted On:
Monday, October 6, 2008 01:02 AM
I can't get my grammar to recognize IDs of length 1. Greater than one is fine. It gives me an Mismatch error whenever the ID is of length one though.
ID
: ((('a'..'z') | ('_')) ('0'..'9')*)+
;
That should be an ID that starts with either a a-z or _ and can contain #s
Thanks.