diff options
Diffstat (limited to 'Build/source/texk')
-rwxr-xr-x | Build/source/texk/web2c/tests/fix-changefile-lines.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/tests/fix-changefile-lines.py b/Build/source/texk/web2c/tests/fix-changefile-lines.py index 44137a4a88d..c98165f1a24 100755 --- a/Build/source/texk/web2c/tests/fix-changefile-lines.py +++ b/Build/source/texk/web2c/tests/fix-changefile-lines.py @@ -64,7 +64,6 @@ class WebReader: if self._pos >= len(self._web_lines): return None line = self._web_lines[self._pos] - self._pos += 1 # Look for starred section == part if line.startswith("@*"): @@ -78,7 +77,7 @@ class WebReader: # Prepare return values part = self.part_cnt section = self.section_cnt - line_number = self._pos + line_number = self._pos = self._pos + 1 # Look for '@i'nclude line result = re.match("^@i \"?(\\w+(\\.\\w+)?)\"?", line) |