bug-bison
[Top][All Lists]
Advanced

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

(conflicts_print): format string bug in CVS


From: Jim Meyering
Subject: (conflicts_print): format string bug in CVS
Date: Tue, 13 Apr 2004 11:23:02 +0200

Here's a fix for a format string bug:

2004-04-13  Jim Meyering  <address@hidden>

        * src/conflicts.c (conflicts_print): Correct format string typo:
        use `%%' to produce literal `%'.

Index: src/conflicts.c
===================================================================
RCS file: /cvsroot/bison/bison/src/conflicts.c,v
retrieving revision 1.106
diff -u -p -r1.106 conflicts.c
--- src/conflicts.c     26 Mar 2004 22:41:16 -0000      1.106
+++ src/conflicts.c     13 Apr 2004 09:22:16 -0000
@@ -1,6 +1,6 @@
 /* Find and resolve or report look-ahead conflicts for bison,
 
-   Copyright (C) 1984, 1989, 1992, 2000, 2001, 2002, 2003
+   Copyright (C) 1984, 1989, 1992, 2000, 2001, 2002, 2003, 2004
    Free Software Foundation, Inc.
 
    This file is part of Bison, the GNU Compiler Compiler.
@@ -484,7 +484,7 @@ conflicts_print (void)
 
   if (! glr_parser && rrc_total > 0 && expected_rr_conflicts != -1)
     {
-      warn (_("%expect-rr applies only to GLR parsers"));
+      warn (_("%%expect-rr applies only to GLR parsers"));
       expected_rr_conflicts = -1;
     }
 




reply via email to

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