(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:
Paul Eggert
2001-12-13 02:21:12 +00:00
parent 63e75f2e38
commit b59b91bb6e

View File

@@ -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 ();