summaryrefslogtreecommitdiffstats
path: root/generic/tclCompile.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-06-09 07:03:08 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-06-09 07:03:08 (GMT)
commitfbca23e5cc86151579530b5a2b3cdf5e2b48b12e (patch)
treefb5013983a577de6d66f46e937ee327e60cc3829 /generic/tclCompile.h
parent5a3a1ddfbc3970b48fd2855ca6b1265972eea1d1 (diff)
downloadtcl-fbca23e5cc86151579530b5a2b3cdf5e2b48b12e.zip
tcl-fbca23e5cc86151579530b5a2b3cdf5e2b48b12e.tar.gz
tcl-fbca23e5cc86151579530b5a2b3cdf5e2b48b12e.tar.bz2
More (internal) int -> size_t, allowing values > 2^31
Diffstat (limited to 'generic/tclCompile.h')
-rw-r--r--generic/tclCompile.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclCompile.h b/generic/tclCompile.h
index 1b967cc..f9e6b17 100644
--- a/generic/tclCompile.h
+++ b/generic/tclCompile.h
@@ -379,7 +379,7 @@ typedef struct CompileEnv {
/* TIP #280 */
ExtCmdLoc *extCmdMapPtr; /* Extended command location information for
* 'info frame'. */
- int line; /* First line of the script, based on the
+ size_t line; /* First line of the script, based on the
* invoking context, then the line of the
* command currently compiled. */
int atCmdStart; /* Flag to say whether an INST_START_CMD
@@ -468,7 +468,7 @@ typedef struct ByteCode {
size_t numCmdLocBytes; /* Number of bytes needed for encoded command
* location information. */
size_t maxExceptDepth; /* Maximum nesting level of ExceptionRanges;
- * -1 if no ranges were compiled. */
+ * TCL_INDEX_NONE if no ranges were compiled. */
size_t maxStackDepth; /* Maximum number of stack elements needed to
* execute the code. */
unsigned char *codeStart; /* Points to the first byte of the code. This