* src/main.c (berror): Remove, unused.
+2001-12-05 Akim Demaille <akim@epita.fr>
+
+ * src/output.c (pack_vector): Use assert, not berror.
+ * src/main.c (berror): Remove, unused.
+
2001-12-05 Akim Demaille <akim@epita.fr>
New experimental feature: if --verbose --trace output all the
/* The name this program was run with, for messages. */
char *program_name;
-extern void berror PARAMS((const char *));
-
int
main (int argc, char *argv[])
{
return complain_message_count ? EXIT_FAILURE : EXIT_SUCCESS;
}
-\f
-/* Abort for an internal error denoted by string S. */
-
-void
-berror (const char *s)
-{
- fprintf (stderr, _("%s: internal error: %s\n"), program_name, s);
- abort ();
-}
#include "conflicts.h"
#include "muscle_tab.h"
-extern void berror PARAMS((const char *));
static int nvectors;
static int nentries;
}
}
- berror ("pack_vector");
- return 0; /* JF keep lint happy */
+ assert (!"pack_vector");
+ return 0;
}
else
skeleton = skeleton_find ("BISON_SIMPLE", BISON_SIMPLE);
}
- muscle_insert ("skeleton", skeleton);
+ muscle_insert ("skeleton", skeleton);
output_parser (skeleton, &table_obstack);
}