mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-20 17:53:02 +00:00
* src/reader.c (parse_union_decl): Push the caracters in
union_obstack, not attrs_obstack.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2001-10-04 Akim Demaille <akim@epita.fr>
|
||||||
|
|
||||||
|
* src/reader.c (parse_union_decl): Push the caracters in
|
||||||
|
union_obstack, not attrs_obstack.
|
||||||
|
|
||||||
2001-10-04 Akim Demaille <akim@epita.fr>
|
2001-10-04 Akim Demaille <akim@epita.fr>
|
||||||
|
|
||||||
Merge in the branch 1.29.
|
Merge in the branch 1.29.
|
||||||
|
|||||||
@@ -748,6 +748,8 @@ parse_union_decl (void)
|
|||||||
|
|
||||||
typed = 1;
|
typed = 1;
|
||||||
|
|
||||||
|
/* FIXME: I'm worried: are you sure attrs_obstack is properly
|
||||||
|
filled? */
|
||||||
if (no_lines_flag)
|
if (no_lines_flag)
|
||||||
obstack_1grow (&attrs_obstack, '\n');
|
obstack_1grow (&attrs_obstack, '\n');
|
||||||
|
|
||||||
@@ -763,7 +765,7 @@ parse_union_decl (void)
|
|||||||
/* If C contains '/', it is output by copy_comment (). */
|
/* If C contains '/', it is output by copy_comment (). */
|
||||||
if (c != '/')
|
if (c != '/')
|
||||||
{
|
{
|
||||||
obstack_1grow (&attrs_obstack, c);
|
obstack_1grow (&union_obstack, c);
|
||||||
if (defines_flag)
|
if (defines_flag)
|
||||||
obstack_1grow (&defines_obstack, c);
|
obstack_1grow (&defines_obstack, c);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user