texlive[71451] Build/source/texk/web2c/tests/fix-changefile-lines.py:
commits+ascherer at tug.org
commits+ascherer at tug.org
Thu Jun 6 19:29:16 CEST 2024
Revision: 71451
https://tug.org/svn/texlive?view=revision&revision=71451
Author: ascherer
Date: 2024-06-06 19:29:15 +0200 (Thu, 06 Jun 2024)
Log Message:
-----------
Fix typo and support extension-less include files.
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-06 16:24:57 UTC (rev 71450)
+++ trunk/Build/source/texk/web2c/tests/fix-changefile-lines.py 2024-06-06 17:29:15 UTC (rev 71451)
@@ -5,7 +5,7 @@
"""
Reads a WEB file and a change file and writes a change file to stdout with
potentially corrected part, section and line numbers.
-Written by Tyge Thiessen, 2024. Public domain.
+Written by Tyge Tiessen, 2024. Public domain.
"""
import re
import sys
@@ -72,7 +72,7 @@
self.section_cnt += 1
# Look for '@i'nclude line
- result = re.match("^@i \"?(\\w+\\.?\\w+)\"?", line)
+ result = re.match("^@i \"?(\\w+(\\.\\w+)?)\"?", line)
if result:
inc_reader = WebReader(result[1])
while inc_reader.next_line():
More information about the tex-live-commits
mailing list.