Fix build for older versios of bison.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32274 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jim Laskey
2006-12-06 10:57:33 +00:00
parent 576d123e13
commit 98ba588c03
3 changed files with 2884 additions and 3946 deletions

View File

@@ -265,7 +265,7 @@ getCompareOp(const std::string& setcc, const TypeInfo& TI) {
%}
%file-prefix="UpgradeParser"
// %file-prefix="UpgradeParser"
%union {
std::string* String;
@@ -382,7 +382,7 @@ OptCallingConv
OptAlign
: /*empty*/ { $$ = new std::string(); }
| ALIGN EUINT64VAL { *$1 += " " + *$2; delete $2; $$ = $1; };
;
OptCAlign
: /*empty*/ { $$ = new std::string(); }
| ',' ALIGN EUINT64VAL {