this is part of the https://github.com/monperrus/pascal3g/blob/master/pascal3g.g file. I have searched everywhere in the antlr4 documentation, but still don't know what the '^' sign do. Is this a sign for older versions of antlr?
usesUnitsPart
: USES^ identifierList SEMI!
;
labelDeclarationPart
: LABEL^ label ( COMMA! label )* SEMI!
;
I was asked to modify my question -- this is a sign in antlr3, and it was removed from antlr4. This is a difference of the two versions.