Re: generating an error within an action

2004-11-18 Thread PerlDiscuss - Perl Newsgroups and mailing lists
I wrote: PS Please cc me. I'm not subscribed. and apparently I didn't even manage to send an address! Doh. Please use dhoworth at mrc-lmb.cam.ac.uk FWIW, I'm sending via: http://www.perldiscuss.com/post.php?type=replyid=481group=perl.recdescent and I did fill in my name and address, but they

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 very

Negative Look-ahead problem

2004-03-31 Thread PerlDiscuss - Perl Newsgroups and mailing lists
reserved_word: 'AND' | 'OR' WORD: ...!reserved_word /[a-z0-9]+/i Using the above grammar, rule WORD fails to match any token that start with a reserved word (e.g. Andy). That is not what I expected since in 'demo_Cgrammar.pl', we have: IDENTIFIER: ...!reserved_word /[a-z]\w*/i I