RE: Very odd parsing problem
[email protected] ("Orton, Yves") Wed, 17 Dec 2003 14:35:34 -0000
| Newsgroups | perl.recdescent |
|---|---|
| Message-ID | <71B318898201D311845C0008C75DAD1C0A44C91F@defra1ex2> |
> Thank you, Yves. I am only a hobby programmer and am always
> grateful for style tips.
No problem.
> I made the changes you suggested but I am still having
> problems. I am attaching the trace output from both the correct and
> incorrect parses. I am also including the grammar below. I thank you
> again for any help you can offer.
Well the code below doesnt make much sense to me off the top of my head.
What is the Process module?
> #IF I UNCOMMENT THE BELOW CODE THE PARSE FAILS
> #
> #use Process;
> #my $process = Process->new();
> #$process->processTree($parsetree);
> #print $process->{results}, "\n";
Anyway, it looks to me like somehow the whitespace definition is changing
somehow. Does Process.pm mess with the regular expression engine somehow?
Thats the only way that I can see this having any effect at all. (But im no
authority)
But im mostly guessing. Without seeing your full code its hard to say.
Can you minimize the code in Process down to a test case that we could
repeat?
Also, you may find that perlmonks.org is useful to you.
rgds,
yves