diff options
Diffstat (limited to 'parser.y')
-rw-r--r-- | parser.y | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -1039,6 +1039,8 @@ not_a_clause : ALL { $$ = mkexp(all_s, nil, num(parser->lineno)); } %% +const int have_yydebug = YYDEBUG; + int yylex(YYSTYPE *, yyscan_t scanner); /* C99 inline instantiations. */ @@ -1046,6 +1048,13 @@ int yylex(YYSTYPE *, yyscan_t scanner); val rlcp(val to, val from); #endif +void yydebug_onoff(int val) +{ +#if YYDEBUG + yydebug = val; +#endif +} + static val sym_helper(parser_t *parser, wchar_t *lexeme, val meta_allowed) { scanner_t *scnr = parser->scanner; |