ANTLR4 not recognising a rule

后端 未结 0 853
星月不相逢
星月不相逢 2021-02-12 16:51

in my g4 file, I have defined an integer like so:

INT: \'0\'
   | \'-\'? [1-9] [0-9_]*
   ;
   // no leading zeros are allowed!

A parser rule use

相关标签:
回答
  • 消灭零回复
提交回复
热议问题