mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-15 23:33:03 +00:00
* lib/libiberty.h: New.
* lib: Update the bitset implementation from upstream. * src/closure.c, src/lalr.c, src/output.c, src/print_graph.c, * src/state.c: Use BITSET_FOR_EACH, not BITSET_EXECUTE. * src/main.c: Adjust bitset stats calls.
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
|
||||
|
||||
#include "system.h"
|
||||
#include "bitset_stats.h"
|
||||
#include "bitset.h"
|
||||
#include "getargs.h"
|
||||
#include "symtab.h"
|
||||
@@ -50,11 +51,12 @@ main (int argc, char *argv[])
|
||||
bindtextdomain (PACKAGE, LOCALEDIR);
|
||||
textdomain (PACKAGE);
|
||||
|
||||
bitset_stats_init ();
|
||||
|
||||
lineno = 0;
|
||||
getargs (argc, argv);
|
||||
|
||||
if (trace_flag)
|
||||
bitset_stats_enable ();
|
||||
|
||||
muscle_init ();
|
||||
|
||||
/* Read the input. Copy some parts of it to FGUARD, FACTION, FTABLE
|
||||
@@ -122,5 +124,8 @@ main (int argc, char *argv[])
|
||||
alloca (0);
|
||||
#endif
|
||||
|
||||
if (trace_flag)
|
||||
bitset_stats_dump (stderr);
|
||||
|
||||
return complain_message_count ? EXIT_FAILURE : EXIT_SUCCESS;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user