mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-13 14:23:04 +00:00
* src/output.c: Formatting changes.
* src/machine.h: Remove, leaving its contents in... * src/system.h: here. Include stdio.h. Adjust all dependencies on stdio.h and machine.h. * src/getargs.h: New file. Let all `extern' declarations about getargs.c be replaced with inclusion of `getargs.h'. * src/Makefile.am (noinst_HEADERS): Adjust. * tests/calc.m4 (yyin): Be initialized in main, not on the global scope. (yyerror): Returns void, not int. * doc/bison.texinfo: Formatting changes.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
/* Top level entry point of bison,
|
||||
Copyright (C) 1984, 1986, 1989, 1992, 1995, 2000 Free Software Foundation, Inc.
|
||||
Copyright (C) 1984, 1986, 1989, 1992, 1995, 2000
|
||||
Free Software Foundation, Inc.
|
||||
|
||||
This file is part of Bison, the GNU Compiler Compiler.
|
||||
|
||||
@@ -19,14 +20,11 @@
|
||||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
|
||||
#include <stdio.h>
|
||||
#include "system.h"
|
||||
#include "machine.h" /* for MAXSHORT */
|
||||
#include "getargs.h"
|
||||
#include "files.h"
|
||||
#include "complain.h"
|
||||
|
||||
extern int verboseflag;
|
||||
|
||||
#if 0 /* XXX currently unused. */
|
||||
/* Nonzero means failure has been detected; don't write a parser file. */
|
||||
static int failure;
|
||||
@@ -38,7 +36,6 @@ char *program_name;
|
||||
extern char *printable_version PARAMS((int));
|
||||
extern void berror PARAMS((const char *));
|
||||
|
||||
extern void getargs PARAMS((int, char *[]));
|
||||
extern void openfiles PARAMS((void));
|
||||
extern void reader PARAMS((void));
|
||||
extern void reduce_grammar PARAMS((void));
|
||||
|
||||
Reference in New Issue
Block a user