diff options
author | dgp <dgp@users.sourceforge.net> | 2020-10-03 19:52:31 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2020-10-03 19:52:31 (GMT) |
commit | c4f2bab01d9cfba702f2ac5d8ab9062387bb58f3 (patch) | |
tree | 02c51c8162909b2a3c15fe7691f274b2e4a20d67 /generic/tclTest.c | |
parent | c9bc1b9fe89625d009d2b68f04b7a5bff6aaf8e9 (diff) | |
parent | b7c4b811ec358b518d9a5ceaf204a84a5e5b59a8 (diff) | |
download | tcl-c4f2bab01d9cfba702f2ac5d8ab9062387bb58f3.zip tcl-c4f2bab01d9cfba702f2ac5d8ab9062387bb58f3.tar.gz tcl-c4f2bab01d9cfba702f2ac5d8ab9062387bb58f3.tar.bz2 |
merge 8.7
Diffstat (limited to 'generic/tclTest.c')
-rw-r--r-- | generic/tclTest.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tclTest.c b/generic/tclTest.c index ebea6db..daa5fc5 100644 --- a/generic/tclTest.c +++ b/generic/tclTest.c @@ -3206,7 +3206,7 @@ TestlinkarrayCmd( static const char *LinkOption[] = { "update", "remove", "create", NULL }; - enum LinkOption { LINK_UPDATE, LINK_REMOVE, LINK_CREATE }; + enum LinkOptionEnum { LINK_UPDATE, LINK_REMOVE, LINK_CREATE }; static const char *LinkType[] = { "char", "uchar", "short", "ushort", "int", "uint", "long", "ulong", "wide", "uwide", "float", "double", "string", "char*", "binary", NULL @@ -3231,7 +3231,7 @@ TestlinkarrayCmd( &optionIndex) != TCL_OK) { return TCL_ERROR; } - switch ((enum LinkOption) optionIndex) { + switch ((enum LinkOptionEnum) optionIndex) { case LINK_UPDATE: for (i=2; i<objc; i++) { Tcl_UpdateLinkedVar(interp, Tcl_GetString(objv[i])); @@ -3797,7 +3797,7 @@ TestregexpObjCmd( "-xflags", "--", NULL }; - enum options { + enum optionsEnum { REGEXP_INDICES, REGEXP_NOCASE, REGEXP_ABOUT, REGEXP_EXPANDED, REGEXP_MULTI, REGEXP_NOCROSS, REGEXP_NEWL, REGEXP_XFLAGS, @@ -3822,7 +3822,7 @@ TestregexpObjCmd( &index) != TCL_OK) { return TCL_ERROR; } - switch ((enum options) index) { + switch ((enum optionsEnum) index) { case REGEXP_INDICES: indices = 1; break; |