mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-10 04:43:03 +00:00
(output): Do not output "#include <stdio.h>"; that is bison.simple's
job. stdio.h should be included only if necessary, to avoid infringing on the user name space when possible.
This commit is contained in:
@@ -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 <stdio.h>\n\n");
|
||||
|
||||
LIST_FREE (core, first_state);
|
||||
output_defines ();
|
||||
output_token_translations ();
|
||||
|
||||
Reference in New Issue
Block a user