summaryrefslogtreecommitdiffstats
path: root/generic/tclInt.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-08-01 09:31:37 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-08-01 09:31:37 (GMT)
commitb89c01475a4aa977cfa56b2292504c60de9a7427 (patch)
tree4a2fd384cf9bd128a79d1713e710adeb4174a647 /generic/tclInt.h
parent8f2b15e6db98e069f1a7296f7c96da79b5515aad (diff)
parentb924d89e299f95beaf3c6bd1ae4adf16aa3c38d4 (diff)
downloadtcl-b89c01475a4aa977cfa56b2292504c60de9a7427.zip
tcl-b89c01475a4aa977cfa56b2292504c60de9a7427.tar.gz
tcl-b89c01475a4aa977cfa56b2292504c60de9a7427.tar.bz2
Merge 8.7
Diffstat (limited to 'generic/tclInt.h')
-rw-r--r--generic/tclInt.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/generic/tclInt.h b/generic/tclInt.h
index 3aa2123..4d73469 100644
--- a/generic/tclInt.h
+++ b/generic/tclInt.h
@@ -2259,6 +2259,7 @@ typedef struct Interp {
#define TCL_EVAL_FILE 0x02
#define TCL_EVAL_SOURCE_IN_FRAME 0x10
#define TCL_EVAL_NORESOLVE 0x20
+#define TCL_EVAL_DISCARD_RESULT 0x40
/*
* Flag bits for Interp structures:
@@ -4523,8 +4524,8 @@ MODULE_SCOPE void TclDbInitNewObj(Tcl_Obj *objPtr, const char *file,
#define TclUnpackBignum(objPtr, bignum) \
do { \
- register Tcl_Obj *bignumObj = (objPtr); \
- register int bignumPayload = \
+ Tcl_Obj *bignumObj = (objPtr); \
+ int bignumPayload = \
PTR2INT(bignumObj->internalRep.twoPtrValue.ptr2); \
if (bignumPayload == -1) { \
(bignum) = *((mp_int *) bignumObj->internalRep.twoPtrValue.ptr1); \