X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/07fed89197b23dc740ed9136741674504c4d8fdc..a3cb6248932cfea1850ac4b981be80b36a98cb68:/tests/calc.at diff --git a/tests/calc.at b/tests/calc.at index 83ce2831..27598e61 100644 --- a/tests/calc.at +++ b/tests/calc.at @@ -136,7 +136,8 @@ yy::Parser::error_ () int yyparse (AT_PARAM_IF([semantic_value *result, int *count])) { - yy::Parser parser (!!YYDEBUG[]AT_PARAM_IF([, result, count])); + yy::Parser parser[]AT_PARAM_IF([ (result, count)]); + parser.set_debug_level (!!YYDEBUG); return parser.parse (); } ],