[antlr-interest] ANTLR 3: Bug in codegen.g

Oliver Zeigermann oliver.zeigermann at gmail.com
Mon Sep 12 05:56:54 PDT 2005


In codegen.g, rule atom the attribute "label" is set for
lexerStringRef, charRef and lexerRuleRef while there is no attribute
label for these rules. This causes an error upon generation.

Obvious solution: either remove code that sets "label" (already done
at certain parts of rule atom) or add attribute "label" to the
templates.

Oliver


More information about the antlr-interest mailing list