From 4f136612d9919f1027010d4220e68666973cfad2 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sat, 26 Mar 2005 01:12:59 +0000 Subject: [PATCH] (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. --- tests/regression.at | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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"; ]]) -- 2.45.2