summaryrefslogtreecommitdiffstats
path: root/tools/genStubs.tcl
diff options
context:
space:
mode:
authordavygrvy <davygrvy@pobox.com>2002-05-08 12:20:15 (GMT)
committerdavygrvy <davygrvy@pobox.com>2002-05-08 12:20:15 (GMT)
commit394914a34e61aec7283ff0d6d3bb4eea91ed09b8 (patch)
tree35d6e1defa5ea1bde260901e505309f4c4eae69d /tools/genStubs.tcl
parentedd4829c7ffa045a42c7ccc5e71e15d128d64e63 (diff)
downloadtcl-394914a34e61aec7283ff0d6d3bb4eea91ed09b8.zip
tcl-394914a34e61aec7283ff0d6d3bb4eea91ed09b8.tar.gz
tcl-394914a34e61aec7283ff0d6d3bb4eea91ed09b8.tar.bz2
Proper source of macro error misunderstanding ' as the leading macro
command found and repaired.
Diffstat (limited to 'tools/genStubs.tcl')
-rw-r--r--tools/genStubs.tcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/genStubs.tcl b/tools/genStubs.tcl
index 9924d23..cc353bd 100644
--- a/tools/genStubs.tcl
+++ b/tools/genStubs.tcl
@@ -8,7 +8,7 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: genStubs.tcl,v 1.9 2001/08/16 09:46:48 davygrvy Exp $
+# RCS: @(#) $Id: genStubs.tcl,v 1.10 2002/05/08 12:20:15 davygrvy Exp $
package require Tcl 8
@@ -348,7 +348,7 @@ proc genStubs::makeDecl {name decl index} {
lassign $decl rtype fname args
append text "/* $index */\n"
- set line "EXTERN $rtype"
+ set line "TCL_EXTERN($rtype)"
set count [expr {2 - ([string length $line] / 8)}]
append line [string range "\t\t\t" 0 $count]
set pad [expr {24 - [string length $line]}]