No such thing as a small change | |
PerlMonks |
Re: •Re: Parse::RecDescent and mini-language parsingby Flame (Deacon) |
on Mar 31, 2003 at 05:26 UTC ( [id://246849]=note: print w/replies, xml ) | Need Help?? |
Note: Before I start, I have noticed your other suggestion, however this is based off of this code. Well, I've modified your suggestion a little, and assuming I understood your suggestion's intent, I seem to have screwed it up somewhere along the line, because it still does not handle ( ) properly, but I can't see why. This is what I now have:
I repeatedly get "$VAR1 = undef;" in reply, as well as enough debugging info to scroll off my screen (unfortunately I can't capture it into a file either, Parse::RecDescent overrides any re-declarations on STDERR, and I can't use "perl language.pl | more" or any other similar methods since those don't want to capture the error messages...) Anyone see what I'm missing, it's probably obvious, but I've been staring at it for 4 hours now without anything more constructive happening than the condensing of a few rules in the grammar declaration. My code doesn't have bugs, it just develops random features. Flame ~ Lead Programmer: GMS (DOWN) | GMS (DOWN)
In Section
Seekers of Perl Wisdom
|
|