From 514ebbd809f0096609a5971c1861a99460e77e73 Mon Sep 17 00:00:00 2001 From: "jan.nijtmans" Date: Tue, 12 Apr 2022 13:53:03 +0000 Subject: Code formatting --- generic/regc_locale.c | 2 +- generic/tclAssembly.c | 2 +- generic/tclCompExpr.c | 2 +- generic/tclExecute.c | 2 +- generic/tclStrToD.c | 2 +- generic/tclTestObj.c | 2 +- unix/tclLoadDyld.c | 2 +- 7 files changed, 7 insertions(+), 7 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); diff --git a/unix/tclLoadDyld.c b/unix/tclLoadDyld.c index 24240af..c2339db 100644 --- a/unix/tclLoadDyld.c +++ b/unix/tclLoadDyld.c @@ -106,7 +106,7 @@ static const char * DyldOFIErrorMsg( int err) { - switch(err) { + switch (err) { case NSObjectFileImageSuccess: return NULL; case NSObjectFileImageFailure: -- cgit v0.12