bug-bison
[Top][All Lists]
Advanced

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

Re: missing -lintl; expected conflicts


From: Frank Heckenbach
Subject: Re: missing -lintl; expected conflicts
Date: Fri, 19 Jan 2001 06:57:32 +0100

Akim Demaille wrote:

> >>>>> "Frank" == Frank Heckenbach <address@hidden> writes:
> 
> Frank> What I actually meant to suggest (installed the current version
> Frank> only to check it hadn't been done already) is the following:
> 
> Not a bad idea, but the patch is outdated.  Please, see
> ftp://alpha.gnu.org/gnu/cvs/bison.tgz.

I hope this one is better:

--- bison/src/conflicts.c.orig  Wed Dec 20 21:01:17 2000
+++ bison/src/conflicts.c       Fri Jan 19 06:54:47 2001
@@ -423,6 +423,12 @@
     sprintf (cp, _(" %d shift/reduce conflicts"), src_num);
   cp += strlen (cp);
 
+  if (src_total > 0 && expected_conflicts > 0)
+    {
+      sprintf (cp, _(" (expected: %d)"), expected_conflicts);
+      cp += strlen (cp);
+    }
+
   if (src_num > 0 && rrc_num > 0)
     sprintf (cp, _(" and"));
   cp += strlen (cp);

Frank

-- 
Frank Heckenbach, address@hidden
http://fjf.gnu.de/
PGP and GPG keys: http://fjf.gnu.de/plan



reply via email to

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