This should be a simple question. Given this parser rule:
ifStatement
: expr3b=IF logical (~(THEN)) expression* (ELSE expression *)? ENDIF // missing THEN
;
Why does this not match this String?
"IF CODE=\"10\" DUE_DATE < YESTERDAY ENDIF"
(IF, THEN, ELSE, and ENDIF are tokens defined to exactly what you'd assume they are. logical and expression are other rules).
CODE = "10"is a mal-formed expression, perhaps in the lexical handling of"10". But you've given too little information to know. - msw