diff options
author | dkf <dkf@noemail.net> | 2011-04-03 06:05:13 (GMT) |
---|---|---|
committer | dkf <dkf@noemail.net> | 2011-04-03 06:05:13 (GMT) |
commit | db0dc9c87d402903e79d5bc5fdb790127623a87c (patch) | |
tree | 261625244d376d9a2c2415ce97c8a93bdc2304f6 /generic/tclObj.c | |
parent | 4b09812b926bfe3c28867ab15e270b09ddbbed01 (diff) | |
download | tcl-db0dc9c87d402903e79d5bc5fdb790127623a87c.zip tcl-db0dc9c87d402903e79d5bc5fdb790127623a87c.tar.gz tcl-db0dc9c87d402903e79d5bc5fdb790127623a87c.tar.bz2 |
More generation of error codes (namespace creation, path normalization,
pipeline creation, package handling, procedures, [scan] formats)
FossilOrigin-Name: a6c95ed9e060d601f5fecd29fdadf14567d377ff
Diffstat (limited to 'generic/tclObj.c')
-rw-r--r-- | generic/tclObj.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/generic/tclObj.c b/generic/tclObj.c index 321ed67..630226f 100644 --- a/generic/tclObj.c +++ b/generic/tclObj.c @@ -2265,6 +2265,8 @@ Tcl_GetDoubleFromObj( if (interp != NULL) { Tcl_SetObjResult(interp, Tcl_NewStringObj( "floating point value is Not a Number", -1)); + Tcl_SetErrorCode(interp, "TCL", "VALUE", "DOUBLE", "NAN", + NULL); } return TCL_ERROR; } |