* 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:
Pascal Bart
2001-09-23 15:33:14 +00:00
parent c51d1a1973
commit 180d45ba81
3 changed files with 25 additions and 16 deletions

View File

@@ -111,8 +111,9 @@
# define YYDEBUG %%debug
#endif
#line %%input_line "%%filename"
#ifndef YYSTYPE
# define YYSTYPE %%stype
typedef %%stype YYSTYPE;
#endif
#ifndef YYLTYPE