Welcome to the Monastery | |
PerlMonks |
Re: Parse::RecDescent eats large part of grammar, thinking it to be implicit subruleby castaway (Parson) |
on Jan 22, 2003 at 10:00 UTC ( [id://228981]=note: print w/replies, xml ) | Need Help?? |
I tink that P::RD is getting confused with your very first line: I also had some problems doing "( rule | rule2 | rule3 ) rule4", I'd suggest trying splitting it up: BTW, you don't need to explicitly say that commands/words has any number of spaces between them, the parser assumes that anyway. (At least, mine did :) C.
In Section
Seekers of Perl Wisdom
|
|