diff options
author | Jeff Cohen <jeffc@jolt-lang.org> | 2007-01-21 19:30:52 +0000 |
---|---|---|
committer | Jeff Cohen <jeffc@jolt-lang.org> | 2007-01-21 19:30:52 +0000 |
commit | ac2dca9a6f59a2e7fdc4de48c456860b6ecd19a9 (patch) | |
tree | 979c9534fcf33a7df949e74fa24cfd954d8d8e62 /tools/llvm-upgrade/UpgradeParser.h.cvs | |
parent | 361c3efd9aec432f2ede5e49ab02f2549c485aa8 (diff) |
Fix a bunch of missing semicolon parse errors from bison.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33426 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-upgrade/UpgradeParser.h.cvs')
-rw-r--r-- | tools/llvm-upgrade/UpgradeParser.h.cvs | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/tools/llvm-upgrade/UpgradeParser.h.cvs b/tools/llvm-upgrade/UpgradeParser.h.cvs index aca52db638..aab02ac861 100644 --- a/tools/llvm-upgrade/UpgradeParser.h.cvs +++ b/tools/llvm-upgrade/UpgradeParser.h.cvs @@ -1,7 +1,7 @@ -/* A Bison parser, made by GNU Bison 2.1. */ +/* A Bison parser, made from /usr/home/jeffc/llvm/tools/llvm-upgrade/UpgradeParser.y, by GNU bison 1.75. */ /* Skeleton parser for Yacc-like parsing with Bison, - Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. + Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002 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 @@ -15,14 +15,17 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. */ + Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ /* As a special exception, when this file is copied by Bison into a Bison output file, you may use that output file without restriction. This special exception was added by the Free Software Foundation in version 1.24 of Bison. */ +#ifndef BISON_UPGRADEPARSER_TAB_H +# define BISON_UPGRADEPARSER_TAB_H + /* Tokens. */ #ifndef YYTOKENTYPE # define YYTOKENTYPE @@ -178,7 +181,6 @@ BITCAST = 404 }; #endif -/* Tokens. */ #define VOID 258 #define BOOL 259 #define SBYTE 260 @@ -330,24 +332,23 @@ -#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED) -#line 971 "/proj/llvm/llvm-2/tools/llvm-upgrade/UpgradeParser.y" -typedef union YYSTYPE { +#ifndef YYSTYPE +#line 971 "/usr/home/jeffc/llvm/tools/llvm-upgrade/UpgradeParser.y" +typedef union { std::string* String; const Type* Ty; Value* Val; Constant* Const; ValueList* ValList; TypeList* TypeVec; -} YYSTYPE; -/* Line 1447 of yacc.c. */ -#line 345 "UpgradeParser.tab.h" -# define yystype YYSTYPE /* obsolescent; will be withdrawn */ -# define YYSTYPE_IS_DECLARED 1 -# define YYSTYPE_IS_TRIVIAL 1 +} yystype; +/* Line 1237 of /usr/local/share/bison/yacc.c. */ +#line 347 "UpgradeParser.tab.h" +# define YYSTYPE yystype #endif extern YYSTYPE Upgradelval; +#endif /* not BISON_UPGRADEPARSER_TAB_H */ |