mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-13 06:13:02 +00:00
Change each use of fattrs' into a use of attrs_obstack'.
* src/reader.c (copy_at): Typo: s/yylloc/yyloc/. * src/files.c (fattrs): Remove. (attrs_obstack): New. Adjust all dependencies. (done): If SEMANTIC_PARSER, dump attrs_obstack into attrsfile.
This commit is contained in:
@@ -31,7 +31,6 @@ extern FILE *finput; /* read grammar specifications */
|
||||
extern FILE *foutput; /* optionally output messages describing the actions taken */
|
||||
extern FILE *fdefines; /* optionally output #define's for token numbers. */
|
||||
extern FILE *ftable; /* output the tables and the parser */
|
||||
extern FILE *fattrs; /* if semantic parser, output a .h file that defines YYSTYPE */
|
||||
/* and also contains all the %{ ... %} definitions. */
|
||||
extern FILE *fguard; /* if semantic parser, output yyguard, containing all the guard code */
|
||||
extern FILE *fparser; /* read the parser to copy into ftable */
|
||||
@@ -47,6 +46,8 @@ extern char *spec_file_prefix;
|
||||
/* Output all the action code; precise form depends on which parser. */
|
||||
extern struct obstack action_obstack;
|
||||
|
||||
/* If semantic parser, output a .h file that defines YYSTYPE */
|
||||
extern struct obstack attrs_obstack;
|
||||
|
||||
extern char *infile;
|
||||
extern int lineno;
|
||||
|
||||
Reference in New Issue
Block a user