Fix a Yecc bug

A bug causing Yecc to generate badly formed parsers when encountering
very simple recursive rules has been fixed.

Thanks to Eric Pailleau for reporting the bug.