mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 20:33:03 +00:00
* src/output.c (GENERATE_OUTPUT_TABLE): Replace with...
(GENERATE_MUSCLE_INSERT_TABLE): this. (output_int_table, output_unsigned_int_table, output_short_table) (output_token_number_table, output_item_number_table): Replace with... (muscle_insert_int_table, muscle_insert_unsigned_int_table) (muscle_insert_short_table, muscle_insert_token_number_table) (muscle_insert_item_number_table): these. Adjust all callers. (prepare_tokens): Don't free `translations', since... * src/reader.h, src/reader.c (grammar_free): do it. Move to... * src/gram.h, src/gram.c (grammar_free): here. * data/bison.simple, data/bison.c++: b4_token_number_max is now b4_translate_max.
This commit is contained in:
@@ -1871,12 +1871,3 @@ reader (void)
|
||||
/* The grammar as a symbol_list is no longer needed. */
|
||||
LIST_FREE (symbol_list, grammar);
|
||||
}
|
||||
|
||||
void
|
||||
grammar_free (void)
|
||||
{
|
||||
XFREE (ritem);
|
||||
free (rules + 1);
|
||||
/* Free the symbol table data structure. */
|
||||
symbols_free ();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user