[llvm-commits] [llvm] r57289 - /llvm/trunk/lib/AsmParser/llvmAsmParser.y
Chris Lattner
sabre at nondot.org
Tue Oct 7 23:44:36 PDT 2008
Author: lattner
Date: Wed Oct 8 01:44:36 2008
New Revision: 57289
URL: http://llvm.org/viewvc/llvm-project?rev=57289&view=rev
Log:
Add missing semicolumns in parser rules, those missing semicolumns
are required to compile with the latest Bison.
Patch by Samuel Tardieu!
Modified:
llvm/trunk/lib/AsmParser/llvmAsmParser.y
Modified: llvm/trunk/lib/AsmParser/llvmAsmParser.y
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/AsmParser/llvmAsmParser.y?rev=57289&r1=57288&r2=57289&view=diff
==============================================================================
--- llvm/trunk/lib/AsmParser/llvmAsmParser.y (original)
+++ llvm/trunk/lib/AsmParser/llvmAsmParser.y Wed Oct 8 01:44:36 2008
@@ -1296,9 +1296,9 @@
| SIGNEXT { $$ = Attribute::SExt; }
| READNONE { $$ = Attribute::ReadNone; }
| READONLY { $$ = Attribute::ReadOnly; }
- | NOINLINE { $$ = Attribute::NoInline }
- | ALWAYSINLINE { $$ = Attribute::AlwaysInline }
- | OPTSIZE { $$ = Attribute::OptimizeForSize }
+ | NOINLINE { $$ = Attribute::NoInline; }
+ | ALWAYSINLINE { $$ = Attribute::AlwaysInline; }
+ | OPTSIZE { $$ = Attribute::OptimizeForSize; }
;
OptFuncAttrs : /* empty */ { $$ = Attribute::None; }
More information about the llvm-commits
mailing list