bug-bison
[Top][All Lists]
Advanced

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

Re: [GNU Bison 2.0] testsuite: 108 failed


From: Paul Eggert
Subject: Re: [GNU Bison 2.0] testsuite: 108 failed
Date: Fri, 25 Mar 2005 17:14:45 -0800
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 (gnu/linux)

horst wente <address@hidden> writes:

> struct drand48_data
>   {
>     unsigned short int x[3];  /* Current state.  */
>     unsigned short int a[3];  /* Factor in congruential formula.  */
>     unsigned short int c;     /* Additive const. in congruential formula.  */
> ...

Thanks for reporting that.  I installed this fix.  Can you please
check to make sure it works around that bug on your platform?


2005-03-25  Paul Eggert  <address@hidden>

        * tests/regression.at (Token definitions): Don't use a token named
        c, as that generates a "#define c ..." that runs afoul of buggy
        stdlib.h that uses the identifier c as a member of struct
        drand48_data.  Problem reported by Horst Wente.

--- regression.at.~1.87.~       2004-12-20 12:14:57 -0800
+++ regression.at       2005-03-25 17:08:44 -0800
@@ -1,5 +1,5 @@
 # Bison Regressions.                               -*- Autotest -*-
-# Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
+# Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -319,9 +319,9 @@ int yylex (void);
 %}
 [%token MYEOF 0 "end of file"
 %token 'a' "a"
-%token b "b"
-%token c 'c'
-%token 'd' d
+%token B_TOKEN "b"
+%token C_TOKEN 'c'
+%token 'd' D_TOKEN
 %%
 exp: "a";
 ]])




reply via email to

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