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

Unified Diff: runtime/vm/scanner.h

Issue 1968143002: Small fix in Scanner (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 7 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/object.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 8d5c6d55d3230b6cbbbae553345f0fb16b0002b0..23b723cd068afacb3a8cf5ebdbcaf105a33f0a30 100644
--- a/runtime/vm/scanner.h
+++ b/runtime/vm/scanner.h
@@ -11,7 +11,6 @@
#include "vm/growable_array.h"
#include "vm/token.h"
-#include "vm/token_position.h"
namespace dart {
@@ -55,8 +54,8 @@ class Scanner : ValueObject {
void Scan();
// Scans to specified token position.
- // Use CurrentPosition() to extract position.
- void ScanTo(TokenPosition token_index);
+ // Use CurrentPosition() to extract line and column number.
+ void ScanTo(intptr_t token_index);
// Scans entire source and returns a stream of tokens.
// Should be called only once.
« no previous file with comments | « runtime/vm/object.cc ('k') | runtime/vm/scanner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698