Branch: Tag:

2014-12-04

2014-12-04 19:23:18 by Felipe Monteiro de Carvalho <fcarvalho@opera.com>

Fixes compilation on Kubuntu 12.10.

According to the bison manual, yydebug is only available if YYDEBUG is
defined and equals 1. Also the yyparse prototype was wrong.

484:       case 'c':    p++; - #if defined(YYDEBUG) || defined(PIKE_DEBUG) + #if (defined(YYDEBUG) && (YYDEBUG==1)) && defined(PIKE_DEBUG)    yydebug++; - #endif /* YYDEBUG || PIKE_DEBUG */ + #endif /* YYDEBUG && PIKE_DEBUG */    break;       case 's':