From 4e5caae2c6927e9aef605283975fd5e0e94a6e45 Mon Sep 17 00:00:00 2001 From: Marc Autret Date: Tue, 28 Aug 2001 20:55:58 +0000 Subject: [PATCH] Adjust --- ChangeLog | 1 + src/output.c | 12 ++++++------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index a455236e..cb02468a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,7 @@ 2001-08-28 Marc Autret * src/output.c (output_actions): Clean up. + (output_gram): CPP-out useless code. * src/reader.c (reader): Clean up, CPP-out useless code. 2001-08-28 Pascal Bart diff --git a/src/output.c b/src/output.c index 78496932..b58f0ec0 100644 --- a/src/output.c +++ b/src/output.c @@ -190,8 +190,10 @@ output_gram (void) XFREE (yyrhs); } - /* if (!semantic_parser && !no_parser_flag) - obstack_sgrow (&table_obstack, "\n#endif\n"); */ +#if 0 + if (!semantic_parser && !no_parser_flag) + obstack_sgrow (&table_obstack, "\n#endif\n"); +#endif } @@ -938,12 +940,10 @@ output_actions (void) sort_actions (); pack_table (); - /* FIXME: See if this is useful. */ - /* obstack_1grow (&table_obstack, '\n'); */ + output_base (); output_table (); - /* FIXME: See if this is useful. */ - /* obstack_1grow (&table_obstack, '\n'); */ + output_check (); } -- 2.45.2