aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/source/flattr_ed.cpp
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2005-05-01 03:12:05 +0000
committerThomas Grill <xovo@users.sourceforge.net>2005-05-01 03:12:05 +0000
commitbf71e93c27db661f3596b1e781ea2d632c1680ba (patch)
treeb6836bbdae20cfb62218dc5420dd6e26e8fdc375 /externals/grill/flext/source/flattr_ed.cpp
parent581838d0672e6c17136f661bcd4b48b20ef30199 (diff)
better c++ compliance
fixes for MSVC6 restructured TableMap type (doesn't own pointers any more) svn path=/trunk/; revision=2861
Diffstat (limited to 'externals/grill/flext/source/flattr_ed.cpp')
-rw-r--r--externals/grill/flext/source/flattr_ed.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/externals/grill/flext/source/flattr_ed.cpp b/externals/grill/flext/source/flattr_ed.cpp
index dc2cc9d1..e499b9d7 100644
--- a/externals/grill/flext/source/flattr_ed.cpp
+++ b/externals/grill/flext/source/flattr_ed.cpp
@@ -88,7 +88,11 @@ static void tclscript()
"proc flext_escatoms {lst} {\n"
"set tmp {}\n"
"foreach a $lst {\n"
+// "set a [regsub {\\\\} $a \\\\\\\\]\n" // replace \ with \\ ... must be first
"set a [regsub {\\$} $a \\\\$]\n" // replace $ with \$
+// "set a [regsub {\\{} $a \\\\\\{]\n" // replace { with \{
+// "set a [regsub {\\}} $a \\\\\\}]\n" // replace } with \}
+// "set a [regsub {\\ } $a \\\\\\ ]\n" // replace space with \space
"set a [regsub {,} $a \\\\,]\n" // replace , with \,
"set a [regsub {;} $a \\\\\\;]\n" // replace ; with \;
"lappend tmp $a\n"