Gerald Pfeifer wrote:
> If wrc is built by (BSD) yacc, the build aborts with the following error:
> ../../tools/wrc/wrc -c -s -p rsrc -s -pcomdlg32 -I. -I. -I../../include
> -I../../include ./rsrc.rc
> Error cdlg_xx.rc: 8, 1: syntax error
> *** Error code 1
This is a bug in byacc (tried version 1.9). I have a fix for it, but
could not get onto the net yesterday. I will post it asap.
The problem is that byacc fails to add a default transition in some
states if a token is not used explicitely in any rule. This is the case
for tNL, which is only used by checking the lookahead token.
Another thing is that byacc fails to define YYEMPTY and YYLEX. This is
also fixed in the coming patch.
Greetings Bertho