Re: Negative Look-ahead problem

[email protected] ((PerlDiscuss - Perl Newsgroups and mailing lists)) 3 Apr 2004 16:23:10 -0000
Newsgroups perl.recdescent
Organization PerlDiscuss.com
Message-ID <[email protected]>
Karl Gaissmaier wrote:

> hmmm, I've overseen that the global skip pattern
> is qr/s*/, therefore ANDY is matched as a reserved
> word too, since the token prefix can be just nothing.

> To change the token prefix in the RESERVED rule
> to s+ (<-- see the + instead of *) should help:

Thank you very much for your help!
The fix you suggested did solve my problem.

(I am still mystified about how demo_Cgrammar supposed to work since it
does not make use of the <skip> directive.)

Andras