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

Unified Diff: vm/parser.h

Issue 10808064: Rename some of the enum definitions inside classes to avoid conflict with the ObjectKind enum. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 5 months 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
« no previous file with comments | « vm/object_test.cc ('k') | vm/parser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/parser.h
===================================================================
--- vm/parser.h (revision 9791)
+++ vm/parser.h (working copy)
@@ -177,8 +177,8 @@
// Parsing a library or a regular source script.
bool is_library_source() const {
- return (script_.kind() == RawScript::kScript) ||
- (script_.kind() == RawScript::kLibrary);
+ return (script_.kind() == RawScript::kScriptTag) ||
+ (script_.kind() == RawScript::kLibraryTag);
}
intptr_t TokenPos() const { return tokens_iterator_.CurrentPosition(); }
« no previous file with comments | « vm/object_test.cc ('k') | vm/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698