summaryrefslogtreecommitdiff
path: root/tokens.py
diff options
context:
space:
mode:
authorAnthon van der Neut <anthon@mnt.org>2019-05-16 22:53:16 +0200
committerAnthon van der Neut <anthon@mnt.org>2019-05-16 22:53:16 +0200
commit6f802bba09690a61d753910119811167016b8ab7 (patch)
tree2929e547d8ade18cd6cb466212029d782d773471 /tokens.py
parent79ce3ac7ab98fee2a2896e38113135d3679920de (diff)
downloadruamel.yaml-6f802bba09690a61d753910119811167016b8ab7.tar.gz
indentation of comments after folded/lit scalars0.15.96
fixes issue #290 *When this change indeed resolves your problem, please **Close** this issue*. *(You can do so using the WorkFlow pull-down (close to the top right of this page))*
Diffstat (limited to 'tokens.py')
-rw-r--r--tokens.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tokens.py b/tokens.py
index eb03ae8..d476d49 100644
--- a/tokens.py
+++ b/tokens.py
@@ -266,6 +266,7 @@ class CommentToken(Token):
if SHOWLINES:
try:
v += ', line: ' + str(self.start_mark.line)
+ v += ', col: ' + str(self.start_mark.column)
except: # NOQA
pass
return 'CommentToken({})'.format(v)