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

Unified Diff: runtime/include/dart_debugger_api.h

Issue 23526056: Make Dart_ScriptGetTokenInfo account for line_offset() and col_offset() (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: address comment Created 7 years, 3 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/include/dart_debugger_api.h
diff --git a/runtime/include/dart_debugger_api.h b/runtime/include/dart_debugger_api.h
index bd47064dfed2819b77b95de1ff0f9047d103c6f6..605176a97e5982058eba19909672c1044e877e4f 100755
--- a/runtime/include/dart_debugger_api.h
+++ b/runtime/include/dart_debugger_api.h
@@ -147,8 +147,8 @@ DART_EXPORT Dart_Handle Dart_ScriptGetSource(
* Returns an array of numbers. Null values indicate the beginning of
* a new line. The first number after null is the line number.
* The line number is followed by pairs of numbers, with the first value
- * being the "token offset" and the second value being the character offset
- * of the token relative to the beginning of the script.
+ * being the "token offset" and the second value being the column number
+ * of the token.
* The "token offset" is a value that is used to indicate a location
* in code, similarly to a "PC" address.
* Source lines with no tokens are omitted.

Powered by Google App Engine
This is Rietveld 408576698