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

Unified Diff: tools/coverage.dart

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
« no previous file with comments | « runtime/vm/debugger_api_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/coverage.dart
diff --git a/tools/coverage.dart b/tools/coverage.dart
index 15333a6c9d7c50879cdb02dad013b4adb4610bfa..9958e4387830a034f30f180ffdbb0ab95e275af5 100644
--- a/tools/coverage.dart
+++ b/tools/coverage.dart
@@ -78,7 +78,7 @@ class Source {
void SetLineInfo(List lineInfoTable) {
// Each line is encoded as an array with first element being the line
- // number, followed by pairs of (tokenPosition, textOffset).
+ // number, followed by pairs of (tokenPosition, columnNumber).
lineInfoTable.forEach((List<int> line) {
int lineNumber = line[0];
for (int t = 1; t < line.length; t += 2) {
« no previous file with comments | « runtime/vm/debugger_api_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698