summaryrefslogtreecommitdiffstats
path: root/generic/tclCompile.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-08-20 06:49:25 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-08-20 06:49:25 (GMT)
commit040753e40a5a86ac36162436f039def7a7238dc9 (patch)
treef12dd6b08f1cd82f307af3dfe425de988643035f /generic/tclCompile.h
parent655c8c52be3b109ab737475210e3cd877921076c (diff)
downloadtcl-040753e40a5a86ac36162436f039def7a7238dc9.zip
tcl-040753e40a5a86ac36162436f039def7a7238dc9.tar.gz
tcl-040753e40a5a86ac36162436f039def7a7238dc9.tar.bz2
remove unnecessary struct names, which only pollute the "struct" namespace for te compiler.
Diffstat (limited to 'generic/tclCompile.h')
-rw-r--r--generic/tclCompile.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tclCompile.h b/generic/tclCompile.h
index ba78c36..82a4218 100644
--- a/generic/tclCompile.h
+++ b/generic/tclCompile.h
@@ -80,7 +80,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
@@ -107,7 +107,7 @@ typedef struct ExceptionRange {
* 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. */
@@ -125,7 +125,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
@@ -135,7 +135,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