From bed9260423ec6b66d13da158775005b2822dfadc Mon Sep 17 00:00:00 2001 From: Andreas Scherer Date: Sun, 23 Jun 2024 18:21:48 +0000 Subject: 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 --- Build/source/texk/web2c/tests/fix-changefile-lines.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'Build/source/texk/web2c/tests') 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)") -- cgit v1.2.3