eggert@twinsun.com (Paul Eggert) (11/14/89)
Some versions of bison generate yytname[] only if YYDEBUG is nonzero.
But db_yyerror() in cplus-parse.y always references yytname[].
db_yyerror() is needed only in debugging situations,
so it might as well depend on YYDEBUG too. Here is a fix.
*** old/cplus-parse.y Mon Nov 13 18:16:14 1989
--- new/cplus-parse.y Mon Nov 13 16:10:10 1989
***************
*** 2991,2996 ****
--- 2991,2997 ----
%%
+ #if YYDEBUG != 0
db_yyerror (s, yyps, yychar)
char *s;
short *yyps;
***************
*** 3028,3033 ****
--- 3029,3035 ----
}
#endif
}
+ #endif
void
yyerror (string)