I simplified my Antlr4 grammar to this:
grammar test;
many:
('[' INT ']')*;
INT: '-'? '0'..'9'+;
in ANTLRWorks 2.1 it gives me the warning on '[' and ']'
Implicit token definition in parser rule
Why they are warnings?
I shouldn't use direct char or string in a parser rule?