Re: Negative Look-ahead problem

2004-04-05 Thread Karl Gaissmaier
Hi Andras 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

Re: Negative Look-ahead problem

2004-04-05 Thread PerlDiscuss - Perl Newsgroups and mailing lists
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 ver

Re: Negative Look-ahead problem

2004-04-03 Thread Karl Gaissmaier
Hi Andras, please stay with your e-mails on the mailing-list. Therefore we have it. Andras Karacsony schrieb: Hello Karl, I ran the code you sent me and I got: $ perl reserved_word.pl Parse::RecDescent: Treating "" as an autotree marker Parse::RecDescent: Treating "RESERVED :" as a rule

Re: Negative Look-ahead problem

2004-03-31 Thread Karl Gaissmaier
t;>>>>>>>>>>>>>>>>>>>>>>> and this works very well. I think there is an other problem hidden in your code. Best Regards Charly Andras -Original Message- From: Karl Gaissmaier [mailto:[EMAIL PROTECTED] Sent: Wednesday