summaryrefslogtreecommitdiffstats
path: root/generic/tclScan.c
diff options
context:
space:
mode:
authordgp <dgp@noemail.net>2006-04-25 17:15:24 (GMT)
committerdgp <dgp@noemail.net>2006-04-25 17:15:24 (GMT)
commit36af519fe2ee14b5d74f18d69d4a42926978f035 (patch)
treed127b0b64c2a06ea32dd3a4c919e3471d2e0f5b0 /generic/tclScan.c
parentb9565b33ee5788a309c053b4f9feaf4241f86042 (diff)
downloadtcl-36af519fe2ee14b5d74f18d69d4a42926978f035.zip
tcl-36af519fe2ee14b5d74f18d69d4a42926978f035.tar.gz
tcl-36af519fe2ee14b5d74f18d69d4a42926978f035.tar.bz2
* doc/DoubleObj.3: More doc updates for TIP 237.
* doc/scan.n: * generic/tclScan.c: [scan $s %u] is documented to accept only * tests/scan.test: decimal formatted integers. Fixed code to match. FossilOrigin-Name: d0317c20badd1d6208c5eeff7def892a4c09ffac
Diffstat (limited to 'generic/tclScan.c')
-rw-r--r--generic/tclScan.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/generic/tclScan.c b/generic/tclScan.c
index 91909c8..8696240 100644
--- a/generic/tclScan.c
+++ b/generic/tclScan.c
@@ -8,7 +8,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclScan.c,v 1.23 2005/12/19 19:03:17 dgp Exp $
+ * RCS: @(#) $Id: tclScan.c,v 1.24 2006/04/25 17:15:25 dgp Exp $
*/
#include "tclInt.h"
@@ -751,6 +751,7 @@ Tcl_ScanObjCmd(
break;
case 'u':
op = 'i';
+ parseFlag |= TCL_PARSE_DECIMAL_ONLY;
flags |= SCAN_UNSIGNED;
break;