Give users a grace period on the implementation keyword. This *will* get
removed in a few days. llvm-svn: 35472
This commit is contained in:
		
							parent
							
								
									c3f4d87c90
								
							
						
					
					
						commit
						01a599a202
					
				| 
						 | 
				
			
			@ -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; }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1039,7 +1039,7 @@ Module *llvm::RunVMAsmParser(const char * AsmString, Module * M) {
 | 
			
		|||
%type <UIntVal> OptAlign OptCAlign
 | 
			
		||||
%type <StrVal> 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;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue