Re: Sticky parsing problem

[email protected] (Neil Kohl) 18 Oct 2002 10:43:07 -0400
Newsgroups perl.recdescent
Message-ID <[email protected]>
    Yves>   word: ...!reserved_word /yada-yada/

Brilliant! I tried a couple of productions along the lines of 

	phrase: word (...!reserved_word word)(s?)

without success. It never occurred to me to put the negative lookahead
at the beginning. That's exactly what I needed... my grammar is
parsing all the test cases happily now.

Thanks much!

-- 
Neil Kohl
Manager, ACP-ASIM Online
[email protected]