Skip to content
Snippets Groups Projects
Commit 621d7d5c authored by Richard Berger's avatar Richard Berger
Browse files

Correct off-by-one error in line number reported

parent 1bb9c7da
No related branches found
No related tags found
No related merge requests found
......@@ -36,9 +36,9 @@ def main():
if m:
label = m.group(1)
if label in anchors:
anchors[label].append((filename, line_number))
anchors[label].append((filename, line_number+1))
else:
anchors[label] = [(filename, line_number)]
anchors[label] = [(filename, line_number+1)]
count = 0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment