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

Unified Diff: third_party/closure_linter/closure_linter/common/tokenizer.py

Issue 411243002: closure_linter: 2.3.4 => 2.3.14 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove checker Created 6 years, 5 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: third_party/closure_linter/closure_linter/common/tokenizer.py
diff --git a/third_party/closure_linter/closure_linter/common/tokenizer.py b/third_party/closure_linter/closure_linter/common/tokenizer.py
index 0234720d73b951a9b2b3a5a0bee8999317fed319..9420ea3267a5a23ff76bf0632ffdfb464fd9b7a1 100755
--- a/third_party/closure_linter/closure_linter/common/tokenizer.py
+++ b/third_party/closure_linter/closure_linter/common/tokenizer.py
@@ -90,7 +90,8 @@ class Tokenizer(object):
Returns:
The newly created Token object.
"""
- return tokens.Token(string, token_type, line, line_number, values)
+ return tokens.Token(string, token_type, line, line_number, values,
+ line_number)
def __TokenizeLine(self, line):
"""Tokenizes the given line.

Powered by Google App Engine
This is Rietveld 408576698