mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-12 13:53:03 +00:00
* src/reader.c (parse_union_decl): Add new obstack union_obstack. Which
will contain `%union' declaration. (parse_union_decl): Delete #line directive output. (parse_union_decl): Substitute /attrs_obstack/union_obstack for all informations about %union. (parse_union_decl): Copy the union_obstack in the muscle stype. * src/bison.simple: Add new #line directive. Add typdef %%stype YYSTYPE.
This commit is contained in:
@@ -111,8 +111,9 @@
|
||||
# define YYDEBUG %%debug
|
||||
#endif
|
||||
|
||||
#line %%input_line "%%filename"
|
||||
#ifndef YYSTYPE
|
||||
# define YYSTYPE %%stype
|
||||
typedef %%stype YYSTYPE;
|
||||
#endif
|
||||
|
||||
#ifndef YYLTYPE
|
||||
|
||||
Reference in New Issue
Block a user