[il-antlr-interest: 28477] ANTLR issue with Grammar...

2010-04-17 Thread josh wood
I think there is an issue within ANTLR and supporting the optional operator '?'. Here's what I'm doing: conditionalTest : 'when arrival >' INTEGERPIPETIME ; INTEGER : '0'..'9'+ ; INTEGERPIPETIME: (INTEGER '|')? TIME; TIME: INTEGER ':' INTEGER; When I try to validate the

[il-antlr-interest: 28478] Re: ANTLR issue with Grammar...

2010-04-17 Thread josh wood
Sorry, I made a mistake. The error states it was expecting INTEGERPIPETIME, not TIMETICKS. On Apr 17, 10:40 pm, josh wood wrote: > I think there is an issue within ANTLR and supporting the optional > operator '?'. > > Here's what I'm doing: > > conditionalTest >         :       'when arrival >'