From b59b91bb6e46b51bfc7960bacd654ca7b710f3c7 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Thu, 13 Dec 2001 02:21:12 +0000 Subject: [PATCH] (output): Do not output "#include "; that is bison.simple's job. stdio.h should be included only if necessary, to avoid infringing on the user name space when possible. --- src/output.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/output.c b/src/output.c index 2013bf09..428dc1f6 100644 --- a/src/output.c +++ b/src/output.c @@ -1,5 +1,7 @@ /* Output the generated parsing program for bison, - Copyright 1984, 1986, 1989, 1992, 2000, 2001 Free Software Foundation, Inc. + + Copyright (C) 1984, 1986, 1989, 1992, 2000, 2001 Free Software + Foundation, Inc. This file is part of Bison, the GNU Compiler Compiler. @@ -1277,9 +1279,6 @@ output (void) obstack_fgrow1 (&table_obstack, "#include %s\n", quotearg_style (c_quoting_style, attrsfile)); - if (!no_parser_flag) - obstack_sgrow (&table_obstack, "#include \n\n"); - LIST_FREE (core, first_state); output_defines (); output_token_translations (); -- 2.50.0