summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-06-24 11:40:47 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-06-24 11:40:47 (GMT)
commit1a619a80d9b1d41d4530a41f827a51d04c37f1ad (patch)
tree76f26c409405a0e7ce0fd1a4bc9991b8edb7bb1f /tools
parent9c5e4541411287c33ae6727b22ec18fec6cd04fa (diff)
downloadtcl-1a619a80d9b1d41d4530a41f827a51d04c37f1ad.zip
tcl-1a619a80d9b1d41d4530a41f827a51d04c37f1ad.tar.gz
tcl-1a619a80d9b1d41d4530a41f827a51d04c37f1ad.tar.bz2
Fix for commit [c8bd577a119f2259], which is (slightly) wrong: allowed space should be between '#' and 'define'
Diffstat (limited to 'tools')
-rwxr-xr-xtools/tcltk-man2html.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/tcltk-man2html.tcl b/tools/tcltk-man2html.tcl
index b3433cc..e6d9375 100755
--- a/tools/tcltk-man2html.tcl
+++ b/tools/tcltk-man2html.tcl
@@ -43,7 +43,7 @@ proc getversion {tclh {name {}}} {
# highlighting straight in some editors
if {[regexp -lineanchor \
[string map [list @name@ $name] \
- {^\s*#define\s+@name@_VERSION\s+\"([^.])+\.([^.\"]+)}] \
+ {^#\s*define\s+@name@_VERSION\s+\"([^.])+\.([^.\"]+)}] \
$data -> major minor]} {
return [list $major $minor]
}