The problem is that Antlr identifies "start" rules (ones that can end
with EOF) by looking for rules that are not used anywhere else in the
grammar.
Then, you cannot call your "start" rule inside another rule. Otherwise your "start"' rule is not considered as the real "start" rule.
Aucun commentaire:
Enregistrer un commentaire