From f6ec6d13dcd3833254202659ada3541c9dab88a1 Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Thu, 4 Oct 2001 15:07:32 +0000 Subject: [PATCH] * src/reader.c (parse_union_decl): Push the caracters in union_obstack, not attrs_obstack. --- ChangeLog | 5 +++++ src/reader.c | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index fe764201..7fcfaa6a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-10-04 Akim Demaille + + * src/reader.c (parse_union_decl): Push the caracters in + union_obstack, not attrs_obstack. + 2001-10-04 Akim Demaille Merge in the branch 1.29. diff --git a/src/reader.c b/src/reader.c index 69619358..9bf54dfb 100644 --- a/src/reader.c +++ b/src/reader.c @@ -748,6 +748,8 @@ parse_union_decl (void) typed = 1; + /* FIXME: I'm worried: are you sure attrs_obstack is properly + filled? */ if (no_lines_flag) obstack_1grow (&attrs_obstack, '\n'); @@ -763,7 +765,7 @@ parse_union_decl (void) /* If C contains '/', it is output by copy_comment (). */ if (c != '/') { - obstack_1grow (&attrs_obstack, c); + obstack_1grow (&union_obstack, c); if (defines_flag) obstack_1grow (&defines_obstack, c); } -- 2.45.2