diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2017-12-01 13:53:51 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2017-12-01 13:53:51 (GMT) |
commit | 200910b9c19ac1986d28677de7b427ee774d8e40 (patch) | |
tree | e61a959db97a24d3f524d29aa17e9139a7bc84dc /generic/tclCompile.h | |
parent | e802927981b7af35c948a4c887be2a5399151d95 (diff) | |
parent | f0d821a83cc98067d756402bebd4d941aa7e6cff (diff) | |
download | tcl-200910b9c19ac1986d28677de7b427ee774d8e40.zip tcl-200910b9c19ac1986d28677de7b427ee774d8e40.tar.gz tcl-200910b9c19ac1986d28677de7b427ee774d8e40.tar.bz2 |
merge core-8-branch. Various cleanup: unused structure names, unused #defines. Change some "epoch"-related fields from int to size_t. Nothing functional.
Diffstat (limited to 'generic/tclCompile.h')
-rw-r--r-- | generic/tclCompile.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/generic/tclCompile.h b/generic/tclCompile.h index bd7aaab..4438f24 100644 --- a/generic/tclCompile.h +++ b/generic/tclCompile.h @@ -87,7 +87,7 @@ typedef enum { * to a catch PC offset. */ } ExceptionRangeType; -typedef struct ExceptionRange { +typedef struct { ExceptionRangeType type; /* The kind of ExceptionRange. */ int nestingLevel; /* Static depth of the exception range. Used * to find the most deeply-nested range @@ -162,7 +162,7 @@ typedef struct ExceptionAux { * source offset is not monotonic. */ -typedef struct CmdLocation { +typedef struct { int codeOffset; /* Offset of first byte of command code. */ int numCodeBytes; /* Number of bytes for command's code. */ int srcOffset; /* Offset of first char of the command. */ @@ -180,7 +180,7 @@ typedef struct CmdLocation { * frame and associated information, like the path of a sourced file. */ -typedef struct ECL { +typedef struct { int srcOffset; /* Command location to find the entry. */ int nline; /* Number of words in the command */ int *line; /* Line information for all words in the @@ -190,7 +190,7 @@ typedef struct ECL { * lines. */ } ECL; -typedef struct ExtCmdLoc { +typedef struct { int type; /* Context type. */ int start; /* Starting line for compiled script. Needed * for the extended recompile check in @@ -417,7 +417,7 @@ typedef struct ByteCode { * procs are specific to an interpreter so the * code emitted will depend on the * interpreter. */ - unsigned int compileEpoch; /* Value of iPtr->compileEpoch when this + size_t compileEpoch; /* Value of iPtr->compileEpoch when this * ByteCode was compiled. Used to invalidate * code when, e.g., commands with compile * procs are redefined. */ |