Error token handling with dots in front.

This commit is contained in:
Dave Halter committed 2014-05-03 12:39:20 +02:00
1 parent e5326acf8f
commit c44b88adc3
3 files changed
+17 -1

No files matched your search

+1
View File
@@ -1143,6 +1143,7 @@ isinstance(c, (tokenize.Token, Operator)) else unicode(c)
else:
# comments, strange tokens (like */**), error tokens to
# reproduce the string correctly.
is_chain = False
result.append(tok)
return result