diff options
author | Andreas Scherer <andreas_tex@freenet.de> | 2024-06-06 17:29:15 +0000 |
---|---|---|
committer | Andreas Scherer <andreas_tex@freenet.de> | 2024-06-06 17:29:15 +0000 |
commit | 35484ceb6cdd20be8697806e772469c0c5d1d663 (patch) | |
tree | 9d4d2d00236c81198d5632a927f8edfec83db14f /Build | |
parent | 0f908dffbfc09544a56448ca72e02dbc99b31337 (diff) |
Fix typo and support extension-less include files.
git-svn-id: svn://tug.org/texlive/trunk@71451 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rwxr-xr-x | Build/source/texk/web2c/tests/fix-changefile-lines.py | 4 |
1 files changed, 2 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 73580e62dcd..10dd32dcd03 100755 --- a/Build/source/texk/web2c/tests/fix-changefile-lines.py +++ b/Build/source/texk/web2c/tests/fix-changefile-lines.py @@ -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 @@ class WebReader: 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(): |