diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-06-09 07:03:08 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-06-09 07:03:08 (GMT) |
commit | fbca23e5cc86151579530b5a2b3cdf5e2b48b12e (patch) | |
tree | fb5013983a577de6d66f46e937ee327e60cc3829 /generic/tclCompile.h | |
parent | 5a3a1ddfbc3970b48fd2855ca6b1265972eea1d1 (diff) | |
download | tcl-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.h | 4 |
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 |