[llvm-commits] [PATCH] Add missing semicolumns in parser rules

Samuel Tardieu sam at rfc1149.net
Tue Oct 7 08:30:43 PDT 2008


Those missing semicolumns are required to compile with the latest Bison.
---
 lib/AsmParser/llvmAsmParser.y |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/AsmParser/llvmAsmParser.y b/lib/AsmParser/llvmAsmParser.y
index 608ed72..bb4843f 100644
--- a/lib/AsmParser/llvmAsmParser.y
+++ b/lib/AsmParser/llvmAsmParser.y
@@ -1296,9 +1296,9 @@ FuncAttr      : NORETURN { $$ = Attribute::NoReturn; }
               | 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