X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/342b8b6e2156e923797745af2da2596e3086ccd5..f6ec6d13dcd3833254202659ada3541c9dab88a1:/src/reader.c 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); }