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]

Reply via email to