I'm sorry, it turned out to be pretty simples.

The error appears when there are references to undefined terminal or non-terminal productions.

That's it.

Sorry for the messages, at least it might be of some help to someone else.

hugo

On 7/18/07, Hugo Pacheco <hpacheco@gmail.com> wrote:
Hi Simon,

 
I'm having what I supose ti be a oarsec internal error when trying to compile some grammar.

 
I get:
$ happy -g -a -c Parser.y
happy: parE

 
Is this a known bug? I could find no reference to it.

 
I'm using happy version 1.16 and I can't reduce the problem to a single production.
The grammar file is attached.

 
Thanks in advance,
hugo