Commit 833b1372 authored by Sean's avatar Sean

Fix bug where trailing percent-style comments were not removed before trying to parse commands

parent 16d49e51
......@@ -3258,7 +3258,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('\\')]
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