diff options
author | apnadkarni <apnmbx-wits@yahoo.com> | 2023-07-09 14:47:22 (GMT) |
---|---|---|
committer | apnadkarni <apnmbx-wits@yahoo.com> | 2023-07-09 14:47:22 (GMT) |
commit | 7f10145e496d9a3b8973e2c9d92c606d504fa0f8 (patch) | |
tree | bec2f1328062020174ec5cd3c37e89fc8865ece5 /generic/tclCompile.h | |
parent | 3edb9b417542652525dc806aed8534d0b9b258a6 (diff) | |
download | tcl-7f10145e496d9a3b8973e2c9d92c606d504fa0f8.zip tcl-7f10145e496d9a3b8973e2c9d92c606d504fa0f8.tar.gz tcl-7f10145e496d9a3b8973e2c9d92c606d504fa0f8.tar.bz2 |
Permit large scripts > INT_MAX. Not complete because compiler source line tracking still limited.
Diffstat (limited to 'generic/tclCompile.h')
-rw-r--r-- | generic/tclCompile.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tclCompile.h b/generic/tclCompile.h index 558742f..90ae8a7 100644 --- a/generic/tclCompile.h +++ b/generic/tclCompile.h @@ -183,16 +183,16 @@ typedef struct { typedef struct { Tcl_Size srcOffset; /* Command location to find the entry. */ Tcl_Size nline; /* Number of words in the command */ - int *line; /* Line information for all words in the + Tcl_Size *line; /* Line information for all words in the * command. */ - int **next; /* Transient information used by the compiler + Tcl_Size **next; /* Transient information used by the compiler * for tracking of hidden continuation * lines. */ } ECL; typedef struct { int type; /* Context type. */ - int start; /* Starting line for compiled script. Needed + Tcl_Size start; /* Starting line for compiled script. Needed * for the extended recompile check in * tclCompileObj. */ Tcl_Obj *path; /* Path of the sourced file the command is @@ -392,7 +392,7 @@ typedef struct CompileEnv { * encountered that have not yet been paired * with a corresponding * INST_INVOKE_EXPANDED. */ - int *clNext; /* If not NULL, it refers to the next slot in + Tcl_Size *clNext; /* If not NULL, it refers to the next slot in * clLoc to check for an invisible * continuation line. */ } CompileEnv; |