bison-patches
[Top][All Lists]
Advanced

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

FYI: [Main] Single percent bug


From: robert anisko
Subject: FYI: [Main] Single percent bug
Date: Mon, 27 Aug 2001 17:40:03 +0000 (GMT)

Index: ChangeLog
===================================================================
RCS file: /cvsroot/bison/bison/ChangeLog,v
retrieving revision 1.185
diff -u -r1.185 ChangeLog
--- ChangeLog   2001/08/27 08:57:53     1.185
+++ ChangeLog   2001/08/27 14:32:28
@@ -1,3 +1,8 @@
+2001-08-27  Robert Anisko  <address@hidden>
+
+       * src/output.c (output_parser): Fix.  Store single '%' characters in
+       the output obstack instead of throwing them away.
+
 2001-08-27  Akim Demaille  <address@hidden>
 
        * Makefile.am (AUTOMAKE_OPTIONS): 1.5.
Index: src/output.c
===================================================================
RCS file: /cvsroot/bison/bison/src/output.c,v
retrieving revision 1.42
diff -u -r1.42 output.c
--- src/output.c        2001/08/25 15:07:59     1.42
+++ src/output.c        2001/08/27 14:32:30
@@ -1009,6 +1009,8 @@
              obstack_sgrow (&table_obstack, macro_key);
            }
        }
+      else
+       obstack_1grow (&table_obstack, '%');
     }
 
   /* End. */



reply via email to

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