diff options
| author | Reid Spencer <rspencer@reidspencer.com> | 2007-04-09 01:56:05 +0000 |
|---|---|---|
| committer | Reid Spencer <rspencer@reidspencer.com> | 2007-04-09 01:56:05 +0000 |
| commit | 7ae03fc5fba17db7b0cf4ec0387707e9593fa9f7 (patch) | |
| tree | 6a8b44047489ddacfc2a9a3d6b65a49f61d97c8b /llvm/lib/AsmParser/llvmAsmParser.y.cvs | |
| parent | bef90fe7a71c2a98bf845494d2f876bce24dd4f7 (diff) | |
| download | bcm5719-llvm-7ae03fc5fba17db7b0cf4ec0387707e9593fa9f7.tar.gz bcm5719-llvm-7ae03fc5fba17db7b0cf4ec0387707e9593fa9f7.zip | |
Regenerate
llvm-svn: 35795
Diffstat (limited to 'llvm/lib/AsmParser/llvmAsmParser.y.cvs')
| -rw-r--r-- | llvm/lib/AsmParser/llvmAsmParser.y.cvs | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/llvm/lib/AsmParser/llvmAsmParser.y.cvs b/llvm/lib/AsmParser/llvmAsmParser.y.cvs index 308319639ec..030e057b712 100644 --- a/llvm/lib/AsmParser/llvmAsmParser.y.cvs +++ b/llvm/lib/AsmParser/llvmAsmParser.y.cvs @@ -1039,7 +1039,7 @@ Module *llvm::RunVMAsmParser(const char * AsmString, Module * M) { %type <UIntVal> OptAlign OptCAlign %type <StrVal> OptSection SectionString -%token IMPLEMENTATION ZEROINITIALIZER TRUETOK FALSETOK BEGINTOK ENDTOK +%token 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,18 +1942,6 @@ Definition | MODULE ASM_TOK AsmBlock { CHECK_FOR_ERROR } - | IMPLEMENTATION { - // Emit an error if there are any unresolved types left. - if (!CurModule.LateResolveTypes.empty()) { - const ValID &DID = CurModule.LateResolveTypes.begin()->first; - if (DID.Type == ValID::LocalName) { - GEN_ERROR("Reference to an undefined type: '"+DID.getName() + "'"); - } else { - GEN_ERROR("Reference to an undefined type: #" + itostr(DID.Num)); - } - } - CHECK_FOR_ERROR - } | OptLocalAssign TYPE Types { if (!UpRefs.empty()) GEN_ERROR("Invalid upreference in type: " + (*$3)->getDescription()); |

