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

Unified Diff: tools/gn/token.h

Issue 1525183002: tools/gn: rename char_offset to column_number (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix indentation Created 5 years 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 | « tools/gn/string_utils.cc ('k') | tools/gn/tokenizer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/token.h
diff --git a/tools/gn/token.h b/tools/gn/token.h
index 45b6e28ced214c2bb94fff785b9c44908c7c04c7..bf8728377a12b1e3c03e66e244b37dcbada56fa1 100644
--- a/tools/gn/token.h
+++ b/tools/gn/token.h
@@ -68,7 +68,7 @@ class Token {
location_,
Location(location_.file(),
location_.line_number(),
- location_.char_offset() + static_cast<int>(value_.size()),
+ location_.column_number() + static_cast<int>(value_.size()),
location_.byte() + static_cast<int>(value_.size())));
}
« no previous file with comments | « tools/gn/string_utils.cc ('k') | tools/gn/tokenizer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698