XP is just a number | |
PerlMonks |
Re: Help with tweaking Parse::RecDescent grammarby extremely (Priest) |
on Feb 11, 2003 at 05:08 UTC ( [id://234321]=note: print w/replies, xml ) | Need Help?? |
You could disambiguate labels with a marker character. Just like in the P::RD code itself, L1: ADD RMOVE 1
Thus labels are terminated with a special character and your grammar never gets confused... label_name: /[a-z]\w*:/i --
In Section
Seekers of Perl Wisdom
|
|