summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2017-06-16 14:31:47 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2017-06-16 14:31:47 (GMT)
commitfafe9a283fd31baef4c4c0ea42826dac9d6ae2c9 (patch)
tree6c9e9a4249624be65af9b86f56ebc81bf0e1fea0 /generic
parenta57504b7697df8a915b8c57183ec18c2068b53dd (diff)
parentf7860f65a494888a46e377831ba0419de5f364d9 (diff)
downloadtcl-fafe9a283fd31baef4c4c0ea42826dac9d6ae2c9.zip
tcl-fafe9a283fd31baef4c4c0ea42826dac9d6ae2c9.tar.gz
tcl-fafe9a283fd31baef4c4c0ea42826dac9d6ae2c9.tar.bz2
merge core-8-6-branch
Diffstat (limited to 'generic')
-rw-r--r--generic/tcl.h2
-rw-r--r--generic/tclStrToD.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/generic/tcl.h b/generic/tcl.h
index 759f824..903a8be 100644
--- a/generic/tcl.h
+++ b/generic/tcl.h
@@ -2209,7 +2209,7 @@ typedef struct Tcl_EncodingType {
*/
#ifndef TCL_UTF_MAX
-#define TCL_UTF_MAX 3
+#define TCL_UTF_MAX 4
#endif
/*
diff --git a/generic/tclStrToD.c b/generic/tclStrToD.c
index 67b6482..2091928 100644
--- a/generic/tclStrToD.c
+++ b/generic/tclStrToD.c
@@ -1183,9 +1183,9 @@ TclParseNumber(
case sNA:
case sNANPAREN:
case sNANHEX:
+#endif
Tcl_Panic("TclParseNumber: bad acceptState %d parsing '%s'",
acceptState, bytes);
-#endif
case BINARY:
shift = numTrailZeros;
if (!significandOverflow && significandWide != 0 &&