Commit 50aebbbc authored by Stefan Behnel's avatar Stefan Behnel

minor code cleanup

parent d11ab202
......@@ -76,8 +76,7 @@ class AnnotationCCodeWriter(CCodeWriter):
else:
all.append((pos, start+end))
all.sort()
all.reverse()
all.sort(reverse=True)
for pos, item in all:
_, line_no, col = pos
line_no -= 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