summaryrefslogtreecommitdiffstats
path: root/generic/tclObj.c
diff options
context:
space:
mode:
authorapnadkarni <apnmbx-wits@yahoo.com>2023-04-16 10:55:42 (GMT)
committerapnadkarni <apnmbx-wits@yahoo.com>2023-04-16 10:55:42 (GMT)
commitcceb3ebddedc8b205dc57e284dd27a16c69beaa2 (patch)
tree896be1a586c6870f8ce3dbbcb4fb90c0752dc589 /generic/tclObj.c
parent3c2a7e1741bd4cba6bab6deae6c97256b04a6d79 (diff)
parentf64db5dae2e12baca81dd2c44fa12194214a8bb5 (diff)
downloadtcl-cceb3ebddedc8b205dc57e284dd27a16c69beaa2.zip
tcl-cceb3ebddedc8b205dc57e284dd27a16c69beaa2.tar.gz
tcl-cceb3ebddedc8b205dc57e284dd27a16c69beaa2.tar.bz2
Merge core-8-branch
Diffstat (limited to 'generic/tclObj.c')
-rw-r--r--generic/tclObj.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/generic/tclObj.c b/generic/tclObj.c
index 9d6cd2d..233c677 100644
--- a/generic/tclObj.c
+++ b/generic/tclObj.c
@@ -80,7 +80,7 @@ typedef struct {
Tcl_HashTable *lineCLPtr; /* This table remembers for each Tcl_Obj
* generated by a call to the function
* TclSubstTokens() from a literal text
- * where bs+nl sequences occured in it, if
+ * where bs+nl sequences occurred in it, if
* any. I.e. this table keeps track of
* invisible and stripped continuation lines.
* Its keys are Tcl_Obj pointers, the values
@@ -111,14 +111,14 @@ static ThreadSpecificData *TclGetContLineTable(void);
*/
typedef struct PendingObjData {
- int deletionCount; /* Count of the number of invokations of
+ int deletionCount; /* Count of the number of invocations of
* TclFreeObj() are on the stack (at least
* conceptually; many are actually expanded
* macros). */
Tcl_Obj *deletionStack; /* Stack of objects that have had TclFreeObj()
* invoked upon them but which can't be
* deleted yet because they are in a nested
- * invokation of TclFreeObj(). By postponing
+ * invocation of TclFreeObj(). By postponing
* this way, we limit the maximum overall C
* stack depth when deleting a complex object.
* The down-side is that we alter the overall
@@ -581,7 +581,7 @@ TclContinuationsEnter(
* the switch command is identical, mapping them all to the same
* literal. An interesting result of this is that the number and
* locations (offset) of invisible continuation lines in the literal
- * are the same for all occurences.
+ * are the same for all occurrences.
*
* Note that while reusing the existing entry is possible it requires
* the same actions as for a new entry because we have to copy the
@@ -1391,7 +1391,7 @@ TclFreeObj(
* We have to access it using the low-level call and then check for
* validity. This function can be called after TclFinalizeThreadData() has
* already killed the thread-global data structures. Performing
- * TCL_TSD_INIT will leave us with an un-initialized memory block upon
+ * TCL_TSD_INIT will leave us with an uninitialized memory block upon
* which we crash (if we where to access the uninitialized hashtable).
*/
@@ -1482,7 +1482,7 @@ TclFreeObj(
* We have to access it using the low-level call and then check for
* validity. This function can be called after TclFinalizeThreadData() has
* already killed the thread-global data structures. Performing
- * TCL_TSD_INIT will leave us with an un-initialized memory block upon
+ * TCL_TSD_INIT will leave us with an uninitialized memory block upon
* which we crash (if we where to access the uninitialized hashtable).
*/
@@ -3891,7 +3891,7 @@ Tcl_GetBignumFromObj(
*
* Side effects:
* A copy of bignum is stored in *bignumValue, which is expected to be
- * uninitialized or cleared. If conversion fails, an the 'interp'
+ * uninitialized or cleared. If conversion fails and the 'interp'
* argument is not NULL, an error message is stored in the interpreter
* result.
*