From: Paul Eggert Date: Sat, 26 Mar 2005 01:12:59 +0000 (+0000) Subject: (Token definitions): Don't use a token named c, as that generates a X-Git-Tag: BISON-2_1~163 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/4f136612d9919f1027010d4220e68666973cfad2 (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. --- diff --git a/tests/regression.at b/tests/regression.at index d58c8bdf..dd87ef2d 100644 --- a/tests/regression.at +++ b/tests/regression.at @@ -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"; ]])