From: Marc Autret Date: Mon, 10 Dec 2001 22:55:06 +0000 (+0000) Subject: * src/reader.c (symbols_output): Clean up. X-Git-Tag: before-m4-back-end~156 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/971d51580bc09b94b44f489acdc107cad816c164 * src/reader.c (symbols_output): Clean up. * src/output.c (output_gram, output): Clean up. --- diff --git a/ChangeLog b/ChangeLog index 5bfe3ac1..258243e5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-12-10 Marc Autret + + * src/reader.c (symbols_output): Clean up. + * src/output.c (output_gram, output): Clean up. + 2001-12-10 Akim Demaille * src/lalr.c (initialize_lookaheads): New. Extracted from... diff --git a/src/output.c b/src/output.c index 17b4d914..485d5873 100644 --- a/src/output.c +++ b/src/output.c @@ -198,11 +198,6 @@ output_gram (void) XFREE (yyrhs); } - -#if 0 - if (!semantic_parser && !no_parser_flag) - obstack_sgrow (&table_obstack, "\n#endif\n"); -#endif } @@ -1068,9 +1063,6 @@ output (void) XFREE (user_toknums); output_actions (); -#if 0 - if (!no_parser_flag) */ -#endif prepare (); /* Copy definitions in directive. */ obstack_1grow (&attrs_obstack, 0); diff --git a/src/reader.c b/src/reader.c index 3e901c4b..3974f069 100644 --- a/src/reader.c +++ b/src/reader.c @@ -1904,11 +1904,6 @@ symbols_output (void) obstack_free (&tokendefs, NULL); } -#if 0 - if (!no_parser_flag) - output_token_defines (&table_obstack); -#endif - if (defines_flag) { output_token_defines (&defines_obstack);