mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-02 22:23:10 +00:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user