diff options
author | dgp <dgp@users.sourceforge.net> | 2006-04-25 17:15:25 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2006-04-25 17:15:25 (GMT) |
commit | 592cead58808e8b3266043721e4f4d370ef3c3e7 (patch) | |
tree | d127b0b64c2a06ea32dd3a4c919e3471d2e0f5b0 /generic/tclScan.c | |
parent | 562604634e67537e7a7311b43c61aa900f927ce6 (diff) | |
download | tcl-592cead58808e8b3266043721e4f4d370ef3c3e7.zip tcl-592cead58808e8b3266043721e4f4d370ef3c3e7.tar.gz tcl-592cead58808e8b3266043721e4f4d370ef3c3e7.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.
Diffstat (limited to 'generic/tclScan.c')
-rw-r--r-- | generic/tclScan.c | 3 |
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; |