X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/efeed023277585245908a7554eec5111137164ca..506ffb1f7442541ace4623e03d9ba2a6f32a663e:/tests/regression.at diff --git a/tests/regression.at b/tests/regression.at index ca5adab1..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"; ]]) @@ -727,15 +727,15 @@ member: STRING AT_LALR1_CC_IF( [/* A C++ error reporting function. */ void -yy::Parser::error (const Location&, const std::string& m) +yy::parser::error (const location&, const std::string& m) { std::cerr << m << std::endl; } int -yyparse (void) +yyparse () { - yy::Parser parser; + yy::parser parser; parser.set_debug_level (!!YYDEBUG); return parser.parse (); }