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

minor code cleanup

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