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
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 >'