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. |