Skip Menu |
 

This queue is for tickets about the Pugs-Compiler-Rule CPAN distribution.

Report information
The Basics
Id: 43304
Status: new
Priority: 0/
Queue: Pugs-Compiler-Rule

People
Owner: Nobody in particular
Requestors: TSHINNIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.37
Fixed in: (no value)



Subject: reference token 'xdigit' is not defined in Grammar.grammar
Download (untitled) / with headers
text/plain 688b
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...)


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.