// Parser
statement
: DELIMITER* statementPart+ DELIMITER* (EOL { newline(); })?
;
// Lexer
DELIMITER
: ';'
;
sql-stmt.g:85:13: rule classDef trapped:
sql-stmt.g:85:13: unexpected token: DELIMITER
Line 85 is the statement
rule. I really have no idea why this fails. Please help?
This is with Antlr2 btw. Yes, yes, super old, yes, yes...
Thanks!