diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2017-06-08 08:26:58 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2017-06-08 08:26:58 (GMT) |
commit | 16f3f234e8500f5f71e4d9321689a8bdf9efc809 (patch) | |
tree | 5d0ad393849e7c2d6b1b88d3f6d413ff2b505f14 /generic/tclCompExpr.c | |
parent | 73a3dfdeeabb1a43c73101b4b6a9826f83866b32 (diff) | |
download | tcl-16f3f234e8500f5f71e4d9321689a8bdf9efc809.zip tcl-16f3f234e8500f5f71e4d9321689a8bdf9efc809.tar.gz tcl-16f3f234e8500f5f71e4d9321689a8bdf9efc809.tar.bz2 |
Better UTF-8 surrogate handling, only functional when TCL_UTF_MAX>3
Diffstat (limited to 'generic/tclCompExpr.c')
-rw-r--r-- | generic/tclCompExpr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclCompExpr.c b/generic/tclCompExpr.c index 59eecf9..9c7ab8d 100644 --- a/generic/tclCompExpr.c +++ b/generic/tclCompExpr.c @@ -1885,7 +1885,7 @@ ParseLexeme( { const char *end; int scanned; - Tcl_UniChar ch; + Tcl_UniChar ch = 0; Tcl_Obj *literal = NULL; unsigned char byte; |