summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/tests
diff options
context:
space:
mode:
authorAndreas Scherer <andreas_tex@freenet.de>2024-06-23 18:21:48 +0000
committerAndreas Scherer <andreas_tex@freenet.de>2024-06-23 18:21:48 +0000
commitbed9260423ec6b66d13da158775005b2822dfadc (patch)
tree11aadb39ab56c9cfd41eda5749728fa2613e481a /Build/source/texk/web2c/tests
parentf0a091c06a8c2b2071ad93423280c218fa1cd405 (diff)
Revert "Catch spurious @y."
This reverts commit bb3967e5add1994021eb0374d48aa8cbcc2dad0e. Oops, the 'self._pos += 1' shifts things badly. git-svn-id: svn://tug.org/texlive/trunk@71600 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/tests')
-rwxr-xr-xBuild/source/texk/web2c/tests/fix-changefile-lines.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/Build/source/texk/web2c/tests/fix-changefile-lines.py b/Build/source/texk/web2c/tests/fix-changefile-lines.py
index 4ba0f0cb523..1f763fbda99 100755
--- a/Build/source/texk/web2c/tests/fix-changefile-lines.py
+++ b/Build/source/texk/web2c/tests/fix-changefile-lines.py
@@ -122,9 +122,6 @@ class ChangeReader:
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 @@ class ChangeReader:
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)")