texlive[71600] Build/source/texk/web2c/tests/fix-changefile-lines.py:
commits+ascherer at tug.org
commits+ascherer at tug.org
Sun Jun 23 20:21:49 CEST 2024
Revision: 71600
https://tug.org/svn/texlive?view=revision&revision=71600
Author: ascherer
Date: 2024-06-23 20:21:48 +0200 (Sun, 23 Jun 2024)
Log Message:
-----------
Revert "Catch spurious @y."
This reverts commit bb3967e5add1994021eb0374d48aa8cbcc2dad0e.
Oops, the 'self._pos += 1' shifts things badly.
Modified Paths:
--------------
trunk/Build/source/texk/web2c/tests/fix-changefile-lines.py
Modified: trunk/Build/source/texk/web2c/tests/fix-changefile-lines.py
===================================================================
--- trunk/Build/source/texk/web2c/tests/fix-changefile-lines.py 2024-06-23 18:16:50 UTC (rev 71599)
+++ trunk/Build/source/texk/web2c/tests/fix-changefile-lines.py 2024-06-23 18:21:48 UTC (rev 71600)
@@ -122,9 +122,6 @@
while self._pos < len(self._lines):
line = self._lines[self._pos]
- if line.startswith("@y"):
- eprint(f"! Where is the matching @z?. (l. {self._pos+1} of change file)")
- sys.exit(1)
if line.startswith("@x"):
self._chunk_start = self._pos
while True:
@@ -137,7 +134,6 @@
self._match_lines = self._lines[
self._chunk_start + 1 : self._pos
]
- self._pos += 1
return True
elif line.startswith("@x") or line.startswith("@z"):
eprint(f"! Where is the matching @y?. (l. {self._pos+1} of change file)")
More information about the tex-live-commits
mailing list.