diff options
author | griffin <briang42@easystreet.net> | 2023-05-17 16:12:25 (GMT) |
---|---|---|
committer | griffin <briang42@easystreet.net> | 2023-05-17 16:12:25 (GMT) |
commit | fa313109d6a46e437c1583c859b6e79e0a6dae2a (patch) | |
tree | 24c58bd9cb94b68f79b8f553976513202b3c9bdc /generic/tclCompExpr.c | |
parent | 6781fbdf4b3832134bd23990d3cab8b9a4c8a8fe (diff) | |
parent | a038d4aad3a0cc42c2c3028f816f6e50443a42f1 (diff) | |
download | tcl-fa313109d6a46e437c1583c859b6e79e0a6dae2a.zip tcl-fa313109d6a46e437c1583c859b6e79e0a6dae2a.tar.gz tcl-fa313109d6a46e437c1583c859b6e79e0a6dae2a.tar.bz2 |
Merge trunk
Diffstat (limited to 'generic/tclCompExpr.c')
-rw-r--r-- | generic/tclCompExpr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclCompExpr.c b/generic/tclCompExpr.c index a090ccd..ae365c3 100644 --- a/generic/tclCompExpr.c +++ b/generic/tclCompExpr.c @@ -2093,9 +2093,9 @@ ParseLexeme( if (end < start + numBytes && !TclIsBareword(*end)) { number: - TclInitStringRep(literal, start, end-start); *lexemePtr = NUMBER; if (literalPtr) { + TclInitStringRep(literal, start, end-start); *literalPtr = literal; } else { Tcl_DecrRefCount(literal); @@ -2168,7 +2168,7 @@ ParseLexeme( } *lexemePtr = BAREWORD; if (literalPtr) { - Tcl_SetStringObj(literal, start, (int) (end-start)); + Tcl_SetStringObj(literal, start, end-start); *literalPtr = literal; } else { Tcl_DecrRefCount(literal); |