bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Trunk: union-type


From: Akim Demaille
Subject: Trunk: union-type
Date: 04 Oct 2001 17:17:34 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Artificial Intelligence)

Index: ChangeLog
from  Akim Demaille  <address@hidden>
        * src/reader.c (parse_union_decl): Push the caracters in
        union_obstack, not attrs_obstack.

Index: src/reader.c
===================================================================
RCS file: /cvsroot/bison/bison/src/reader.c,v
retrieving revision 1.90
diff -u -u -r1.90 reader.c
--- src/reader.c 2001/10/04 14:55:20 1.90
+++ src/reader.c 2001/10/04 15:06:48
@@ -748,6 +748,8 @@
 
   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 @@
       /* 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);
        }



reply via email to

[Prev in Thread] Current Thread [Next in Thread]