antlr4
antlr4 copied to clipboard
ANTLR matches incomplete rule
trafficstars
I am using ANTLR 4.13.2
functionsReturningNumerics
: 'LENGTH' '(' stringPrimary ')'
........
passing just 'LENGTH' without parentheses, ANTLR matches the expression. Is it an expected behaviour or it's bug?