Import Tcl 8.6.11
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
#
|
||||
#----------------------------------------------------------------------
|
||||
#
|
||||
# Copyright (c) 2004 by Kevin B. Kenny. All rights reserved.
|
||||
# Copyright (c) 2004 Kevin B. Kenny. All rights reserved.
|
||||
# See the file "license.terms" for information on usage and redistribution
|
||||
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||
#----------------------------------------------------------------------
|
||||
@@ -588,7 +588,7 @@ proc backslashify { string } {
|
||||
set retval {}
|
||||
foreach char [split $string {}] {
|
||||
scan $char %c ccode
|
||||
if { $ccode >= 0x0020 && $ccode < 0x007f && $char ne "\""
|
||||
if { $ccode >= 0x20 && $ccode < 0x7F && $char ne "\""
|
||||
&& $char ne "\{" && $char ne "\}" && $char ne "\["
|
||||
&& $char ne "\]" && $char ne "\\" && $char ne "\$" } {
|
||||
append retval $char
|
||||
|
||||
Reference in New Issue
Block a user