Commit 37746fdc authored by eckhart's avatar eckhart
Browse files

- ineptus weitergebaut...

parent 9ecfd232
...@@ -195,7 +195,7 @@ def tokenized_to_original_mapping(tokenized_source: str) -> SourceMap: ...@@ -195,7 +195,7 @@ def tokenized_to_original_mapping(tokenized_source: str) -> SourceMap:
offsets.extend([o + 1, o]) offsets.extend([o + 1, o])
i = tokenized_source.find(BEGIN_TOKEN, e + 1) i = tokenized_source.find(BEGIN_TOKEN, e + 1)
if e + 1 < len(tokenized_source): if e + 1 < len(tokenized_source):
positions.append(len(tokenized_source)) positions.append(len(tokenized_source) + 1)
offsets.append(offsets[-1]) offsets.append(offsets[-1])
# post conditions # post conditions
......
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