Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(862)

Unified Diff: runtime/vm/scanner.cc

Issue 11360051: Make library, import, export, part built-in identifiers (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: runtime/vm/scanner.cc
===================================================================
--- runtime/vm/scanner.cc (revision 14419)
+++ runtime/vm/scanner.cc (working copy)
@@ -397,15 +397,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");

Powered by Google App Engine
This is Rietveld 408576698