mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-13 22:33:03 +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:
13
src/lex.c
13
src/lex.c
@@ -26,8 +26,8 @@
|
||||
and the name is looked up in the symbol table using symtab.c;
|
||||
symval is set to a pointer to the entry found. */
|
||||
|
||||
#include <stdio.h>
|
||||
#include "system.h"
|
||||
#include "getargs.h"
|
||||
#include "files.h"
|
||||
#include "getopt.h" /* for optarg */
|
||||
#include "symtab.h"
|
||||
@@ -35,17 +35,6 @@
|
||||
#include "alloc.h"
|
||||
#include "complain.h"
|
||||
|
||||
/* flags set by % directives */
|
||||
extern int definesflag; /* for -d */
|
||||
extern int toknumflag; /* for -k */
|
||||
extern int noparserflag; /* for -n */
|
||||
extern int fixed_outfiles; /* for -y */
|
||||
extern int nolinesflag; /* for -l */
|
||||
extern int rawtoknumflag; /* for -r */
|
||||
extern int verboseflag; /* for -v */
|
||||
extern int debugflag; /* for -t */
|
||||
extern char *spec_name_prefix; /* for -p */
|
||||
extern char *spec_file_prefix; /* for -b */
|
||||
/*spec_outfile is declared in files.h, for -o */
|
||||
|
||||
extern int translations;
|
||||
|
||||
Reference in New Issue
Block a user