summaryrefslogtreecommitdiff
path: root/flake8/processor.py
diff options
context:
space:
mode:
Diffstat (limited to 'flake8/processor.py')
-rw-r--r--flake8/processor.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/flake8/processor.py b/flake8/processor.py
index 9ad7751..d75256b 100644
--- a/flake8/processor.py
+++ b/flake8/processor.py
@@ -175,7 +175,8 @@ class FileProcessor(object):
def build_logical_line(self):
"""Build a logical line from the current tokens list."""
comments, logical, mapping_list = self.build_logical_line_tokens()
- return ''.join(comments), ''.join(logical), mapping_list
+ self.logical_line = ''.join(logical)
+ return ''.join(comments), self.logical_line, mapping_list
def split_line(self, token):
"""Split a physical line's line based on new-lines.