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

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
Index: runtime/vm/scanner.h
diff --git a/runtime/vm/scanner.h b/runtime/vm/scanner.h
index 5b35317e9d0a4271b6e3370bd4e7bdc860229e4c..df62722465803e8cf643ed2c2f79a738358f6db7 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_descriptor.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(dart::TokenDescriptor token_index);
// Scans entire source and returns a stream of tokens.
// Should be called only once.

Powered by Google App Engine
This is Rietveld 408576698