mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-23 03:03:02 +00:00
Merge remote-tracking branch 'origin/maint'
* origin/maint: tests: do not output m4 set up. tests: use the generic yyerror function. tests: use assert instead of plain abort. tests: improve the generic yylex implementation. tests: generalize the compilation macros. tests: fix confusion between api.prefix and name-prefix. maint: gitignores. yacc: work around the ylwrap limitation. Conflicts: NEWS tests/local.at
This commit is contained in:
@@ -162,10 +162,8 @@ int main (int argc, const char **argv)
|
||||
}
|
||||
status = yyparse ();
|
||||
fclose (input);
|
||||
if (global_result != result)
|
||||
abort ();
|
||||
if (global_count != count)
|
||||
abort ();
|
||||
assert (global_result == result);
|
||||
assert (global_count == count);
|
||||
return status;
|
||||
}
|
||||
]])
|
||||
|
||||
Reference in New Issue
Block a user