From a5005c077b2abac8ec67ac2a9235ac739cc8c917 Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Thu, 29 Mar 2007 18:49:28 +0000 Subject: Give users a grace period on the implementation keyword. This *will* get removed in a few days. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35472 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/AsmParser/Lexer.l | 2 +- lib/AsmParser/llvmAsmParser.y | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/AsmParser') diff --git a/lib/AsmParser/Lexer.l b/lib/AsmParser/Lexer.l index 9f7a55e..7c524a2 100644 --- a/lib/AsmParser/Lexer.l +++ b/lib/AsmParser/Lexer.l @@ -208,7 +208,7 @@ dllexport { return DLLEXPORT; } hidden { return HIDDEN; } extern_weak { return EXTERN_WEAK; } external { return EXTERNAL; } -checkpoint { return CHECKPOINT; } +implementation { return IMPLEMENTATION; } zeroinitializer { return ZEROINITIALIZER; } \.\.\. { return DOTDOTDOT; } undef { return UNDEF; } diff --git a/lib/AsmParser/llvmAsmParser.y b/lib/AsmParser/llvmAsmParser.y index 6bca424..4271273 100644 --- a/lib/AsmParser/llvmAsmParser.y +++ b/lib/AsmParser/llvmAsmParser.y @@ -1039,7 +1039,7 @@ Module *llvm::RunVMAsmParser(const char * AsmString, Module * M) { %type OptAlign OptCAlign %type OptSection SectionString -%token CHECKPOINT ZEROINITIALIZER TRUETOK FALSETOK BEGINTOK ENDTOK +%token IMPLEMENTATION ZEROINITIALIZER TRUETOK FALSETOK BEGINTOK ENDTOK %token DECLARE DEFINE GLOBAL CONSTANT SECTION VOLATILE %token TO DOTDOTDOT NULL_TOK UNDEF INTERNAL LINKONCE WEAK APPENDING %token DLLIMPORT DLLEXPORT EXTERN_WEAK @@ -1942,7 +1942,7 @@ Definition | MODULE ASM_TOK AsmBlock { CHECK_FOR_ERROR } - | CHECKPOINT { + | IMPLEMENTATION { // Emit an error if there are any unresolved types left. if (!CurModule.LateResolveTypes.empty()) { const ValID &DID = CurModule.LateResolveTypes.begin()->first; -- cgit v1.1