Subject: | reference token 'xdigit' is not defined in Grammar.grammar |
Using compile_p6grammar.pl against a grammar containing a " \x0a " blows
up with
Can't locate object method "xdigit" via package "Pugs::Grammar::Rule"
We find xdigit mentioned twice in Grammar.grammar, however there is no
definition of this token, such as for "token digit". Presumably all
would be well if only
token xdigit {
<[0-9a-f]>
}
were included, however, since Rule.pmc is not rebuilt even when
Grammar.grammar is changed, there is no temporary fix possible.
(Well, duplicating the Rule.pmc routine *digit, changing digit to
xdigit, and changing the embedded [0-9] to [0-9a-f] 'works'..., but I
don't think you want to suggest editing the .pmc as workable...)