Index: runtime/vm/scanner.cc |
=================================================================== |
--- runtime/vm/scanner.cc (revision 14492) |
+++ runtime/vm/scanner.cc (working copy) |
@@ -400,15 +400,15 @@ |
const String& kSource = String::Handle(Symbols::Source()); |
const String& ident = String::Handle(ConsumeIdentChars(false)); |
if (ident.Equals(kLibrary)) { |
- current_token_.kind = Token::kLIBRARY; |
+ current_token_.kind = Token::kLEGACY_LIBRARY; |
return; |
} |
if (ident.Equals(kImport)) { |
- current_token_.kind = Token::kIMPORT; |
+ current_token_.kind = Token::kLEGACY_IMPORT; |
return; |
} |
if (ident.Equals(kSource)) { |
- current_token_.kind = Token::kSOURCE; |
+ current_token_.kind = Token::kLEGACY_SOURCE; |
return; |
} |
ErrorMsg("Unrecognized library token"); |