Commit 5c58cf29 authored by Daniel Brown's avatar Daniel Brown

Previous commit 833b1372 broke block parsing, as they rely on % comments signs...

Previous commit 833b1372 broke block parsing, as they rely on % comments signs which got removed, adding whitespace check for end of line comments
parent f7fdad9e
......@@ -3306,7 +3306,7 @@ class kat(object):
# remove any mutliple whitespace
line = " ".join(line.split())
# add to a list all the positions of any inline comment markers
i = [line.find('#'), line.find('%'), line.find('\\')]
i = [line.find('#'), line.find(' %'), line.find('\\')]
#i = filter(lambda a: a != -1, i)
i = [a for a in i if a != -1]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment