First commit towards replacing pCon-> with someFunc(pCon)
This is accompanied with the removal of dead code in conman.c and else
This commit is contained in:
4
macro.c
4
macro.c
@@ -171,7 +171,7 @@ static int SicsUnknownProc(ClientData pData, Tcl_Interp * pInter,
|
||||
}
|
||||
|
||||
/* invoke */
|
||||
pCon->sicsError = 0;
|
||||
SCSetSicsError(pCon,0);
|
||||
iMacro = SCinMacro(pCon);
|
||||
SCsetMacro(pCon, 1);
|
||||
old = StatisticsBegin(pCommand->stat);
|
||||
@@ -202,7 +202,7 @@ static int SicsUnknownProc(ClientData pData, Tcl_Interp * pInter,
|
||||
return TCL_OK;
|
||||
} else {
|
||||
Tcl_SetVar(pInter, SICSERROR, "yes", TCL_GLOBAL_ONLY);
|
||||
pCon->sicsError = 1;
|
||||
SCSetSicsError(pCon,1);
|
||||
return TCL_ERROR;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user