summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-04-12 13:53:03 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-04-12 13:53:03 (GMT)
commit514ebbd809f0096609a5971c1861a99460e77e73 (patch)
treeeb5e0f4f35946fa0b42eb1d926e39066f281e813 /generic
parent1dee3ade3ca98743a3915e8cd0f1f8962e550061 (diff)
downloadtcl-514ebbd809f0096609a5971c1861a99460e77e73.zip
tcl-514ebbd809f0096609a5971c1861a99460e77e73.tar.gz
tcl-514ebbd809f0096609a5971c1861a99460e77e73.tar.bz2
Code formatting
Diffstat (limited to 'generic')
-rw-r--r--generic/regc_locale.c2
-rw-r--r--generic/tclAssembly.c2
-rw-r--r--generic/tclCompExpr.c2
-rw-r--r--generic/tclExecute.c2
-rw-r--r--generic/tclStrToD.c2
-rw-r--r--generic/tclTestObj.c2
6 files changed, 6 insertions, 6 deletions
diff --git a/generic/regc_locale.c b/generic/regc_locale.c
index d22fd50..c90014f 100644
--- a/generic/regc_locale.c
+++ b/generic/regc_locale.c
@@ -1052,7 +1052,7 @@ cclass(
* Now compute the character class contents.
*/
- switch(index) {
+ switch (index) {
case CC_NULL:
ERR(REG_ECTYPE);
return NULL;
diff --git a/generic/tclAssembly.c b/generic/tclAssembly.c
index 975906c..1ffcf07 100644
--- a/generic/tclAssembly.c
+++ b/generic/tclAssembly.c
@@ -1819,7 +1819,7 @@ CompileEmbeddedScript(
envPtr->maxStackDepth = 0;
StartBasicBlock(assemEnvPtr, BB_FALLTHRU, NULL);
- switch(instPtr->tclInstCode) {
+ switch (instPtr->tclInstCode) {
case INST_EVAL_STK:
TclCompileScript(interp, tokenPtr->start, tokenPtr->size, envPtr);
break;
diff --git a/generic/tclCompExpr.c b/generic/tclCompExpr.c
index d58dd24..87d9a71 100644
--- a/generic/tclCompExpr.c
+++ b/generic/tclCompExpr.c
@@ -1730,7 +1730,7 @@ ConvertTreeToTokens(
scanned = ParseLexeme(start, numBytes, &lexeme, NULL);
- switch(nodePtr->lexeme) {
+ switch (nodePtr->lexeme) {
case OPEN_PAREN:
case COMMA:
case COLON:
diff --git a/generic/tclExecute.c b/generic/tclExecute.c
index d3b9dac..42e8008 100644
--- a/generic/tclExecute.c
+++ b/generic/tclExecute.c
@@ -7135,7 +7135,7 @@ TEBCresume(
{ /* Read the wall clock */
Tcl_WideInt wval;
Tcl_Time now;
- switch(TclGetUInt1AtPtr(pc+1)) {
+ switch (TclGetUInt1AtPtr(pc+1)) {
case 0: /* clicks */
#ifdef TCL_WIDE_CLICKS
wval = TclpGetWideClicks();
diff --git a/generic/tclStrToD.c b/generic/tclStrToD.c
index a29ad07..15aeaf4 100644
--- a/generic/tclStrToD.c
+++ b/generic/tclStrToD.c
@@ -3827,7 +3827,7 @@ ShouldBankerRoundUpToNext(
}
r = mp_cmp_mag(&temp, S);
mp_clear(&temp);
- switch(r) {
+ switch (r) {
case MP_EQ:
return isodd;
case MP_GT:
diff --git a/generic/tclTestObj.c b/generic/tclTestObj.c
index cb3fc79..c4f9e1f 100644
--- a/generic/tclTestObj.c
+++ b/generic/tclTestObj.c
@@ -878,7 +878,7 @@ TestlistobjCmd(
0, &cmdIndex) != TCL_OK) {
return TCL_ERROR;
}
- switch(cmdIndex) {
+ switch (cmdIndex) {
case LISTOBJ_SET:
if ((varPtr[varIndex] != NULL) && !Tcl_IsShared(varPtr[varIndex])) {
Tcl_SetListObj(varPtr[varIndex], objc-3, objv+3);