Your message dated Sun, 23 Oct 2005 13:47:52 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#333231: fixed in flex 2.5.31-36
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 11 Oct 2005 00:10:20 +0000
>From [EMAIL PROTECTED] Mon Oct 10 17:10:20 2005
Return-path: <[EMAIL PROTECTED]>
Received: from kiwi.cs.ucla.edu [131.179.128.19] 
        by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
        id 1EP7im-0005pU-00; Mon, 10 Oct 2005 17:10:20 -0700
Received: from penguin.cs.ucla.edu (Penguin.CS.UCLA.EDU [131.179.64.200])
        by kiwi.cs.ucla.edu (8.11.7p1+Sun/8.11.7/UCLACS-5.2) with ESMTP id 
j9B09h425596
        for <[EMAIL PROTECTED]>; Mon, 10 Oct 2005 17:09:44 -0700 (PDT)
Received: from eggert by penguin.cs.ucla.edu with local (Exim 4.50)
        id 1EP7iD-0004aq-Fu
        for [EMAIL PROTECTED]; Mon, 10 Oct 2005 17:09:45 -0700
To: [EMAIL PROTECTED]
Subject: flex generates a C file with improper macro defn; broke Bison 2.1
Message-Id: <[EMAIL PROTECTED]>
From: Paul Eggert <[EMAIL PROTECTED]>
Date: Mon, 10 Oct 2005 17:09:45 -0700
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

Package: flex
Version: 2.5.31-34
Tags: patch upstream

flex 2.5.31-34 generates a C file that does not conform to the C
standard, because the code invokes gram_wrap() even though the
gram_wrap macro expects an argument.

This bug is also present in Debian stable, and its presence broke
Bison 2.1 because I used Debian stable flex to build Bison.  The bug's
effect is described in
<http://lists.gnu.org/archive/html/bug-bison/2004-02/msg00026.html>;
that message is for Bison 1.875 but the same problem occurs in the
Bison 2.1 distribution because of the bug in flex 2.5.31-31.
(I used flex 2.5.31-31 to generate both Bison 1.875 and Bison 2.1.)

I see from
<http://ftp.debian.org/debian/pool/main/f/flex/flex_2.5.31-34.diff.gz>
that the file
flex-2.5.31/{arch}/flex/flex--debian/flex--debian--2.5/[EMAIL 
PROTECTED]/patch-log/patch-2
logs the presence of the bug, but there isn't any patch installed.  I
suspect the patch got lost somehow so I'm filing this bug report.
Here is a patch.

2005-10-10  Paul Eggert  <[EMAIL PROTECTED]>

        * main.c (readin): Don't output an invalid macro definition for
        yywrap; some C compilers complain about this.

--- flex-2.5.31-34/main.c       2005-10-10 16:43:31.000000000 -0700
+++ flex-2.5.31-34-yywrap/main.c        2005-10-10 16:49:11.000000000 -0700
@@ -1560,7 +1560,7 @@ void readin ()
     }
 
        if (!do_yywrap) {
-               outn ("\n#define yywrap(n) 1");
+               outn ("\n#define yywrap() 1");
                outn ("#define YY_SKIP_YYWRAP");
        }
 

---------------------------------------
Received: (at 333231-close) by bugs.debian.org; 23 Oct 2005 20:58:33 +0000
>From [EMAIL PROTECTED] Sun Oct 23 13:58:33 2005
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
        id 1ETmky-0001F5-00; Sun, 23 Oct 2005 13:47:52 -0700
From: Manoj Srivastava <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#333231: fixed in flex 2.5.31-36
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Sun, 23 Oct 2005 13:47:52 -0700
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-CrossAssassin-Score: 2

Source: flex
Source-Version: 2.5.31-36

We believe that the bug you reported is fixed in the latest version of
flex, which is due to be installed in the Debian FTP archive:

flex-doc_2.5.31-36_all.deb
  to pool/main/f/flex/flex-doc_2.5.31-36_all.deb
flex_2.5.31-36.diff.gz
  to pool/main/f/flex/flex_2.5.31-36.diff.gz
flex_2.5.31-36.dsc
  to pool/main/f/flex/flex_2.5.31-36.dsc
flex_2.5.31-36_i386.deb
  to pool/main/f/flex/flex_2.5.31-36_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Manoj Srivastava <[EMAIL PROTECTED]> (supplier of updated flex package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun, 23 Oct 2005 14:59:05 -0500
Source: flex
Binary: flex-doc flex
Architecture: source i386 all
Version: 2.5.31-36
Distribution: unstable
Urgency: low
Maintainer: Manoj Srivastava <[EMAIL PROTECTED]>
Changed-By: Manoj Srivastava <[EMAIL PROTECTED]>
Description: 
 flex       - A fast lexical analyzer generator.
 flex-doc   - Documentation for flex (a fast lexical analyzer generator)
Closes: 320134 333231
Changes: 
 flex (2.5.31-36) unstable; urgency=low
 .
   * Bug fix: "flex: doxygen warning: argument `str' of command @param is
     not found in the argumentlist", thanks to Ludovic Rousseau
                                                            (Closes: #320134).
   * Bug fix: "flex generates a C file with improper macro defn; broke
     Bison 2.1", thanks to Paul Eggert. Well, even though it is legal C99
     to have empty arguments in macros (so it is legal to call a macro
     taking one argument with no arguments), it was not legal C89 --
     therefore, emit tqo different macros, with and without arguments -- to
     cater to users running obsolete compilers.             (Closes: #333231).
Files: 
 a211839fdc8470dcd9fe53ab0ed80357 670 devel standard flex_2.5.31-36.dsc
 7ed573f6e5f9cf7ddea521bc06bedb8a 211072 devel standard flex_2.5.31-36.diff.gz
 63bb249889420feb37e0fccf82ad0eb0 149646 doc optional flex-doc_2.5.31-36_all.deb
 f57e8713f0e4302dc3ad34e1b7c1f66c 268566 devel standard flex_2.5.31-36_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDW/QjIbrau78kQkwRAn+TAKCUfNl6OP+DQYZuRlGPYrghbKfCaQCbBjwr
e3pd/yOGyPYgk3LwyZL2e58=
=yK3x
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to