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

Unified Diff: runtime/vm/scanner.h

Issue 1644793002: Replace intptr_t with TokenDescriptor (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 11 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 | « runtime/vm/runtime_entry.cc ('k') | runtime/vm/scanner.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/scanner.h
diff --git a/runtime/vm/scanner.h b/runtime/vm/scanner.h
index 5b35317e9d0a4271b6e3370bd4e7bdc860229e4c..92ebcd69a522315a042dfb14b2d18bd01dba2caf 100644
--- a/runtime/vm/scanner.h
+++ b/runtime/vm/scanner.h
@@ -11,6 +11,7 @@
#include "vm/growable_array.h"
#include "vm/token.h"
+#include "vm/token_position.h"
namespace dart {
@@ -55,7 +56,7 @@ class Scanner : ValueObject {
// Scans to specified token position.
// Use CurrentPosition() to extract position.
- void ScanTo(intptr_t token_index);
+ void ScanTo(TokenPosition token_index);
// Scans entire source and returns a stream of tokens.
// Should be called only once.
« no previous file with comments | « runtime/vm/runtime_entry.cc ('k') | runtime/vm/scanner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698