- Added code to read SANS TOF frames from a) files and b) from HM
- Fixed an bug causing core dumps on bad Tcl scripts - Started on a syntax checker for SICS
This commit is contained in:
5
macro.c
5
macro.c
@@ -438,8 +438,9 @@
|
||||
SCWrite(pCon,pTcl->result,eError);
|
||||
}
|
||||
pCom = Tcl_DStringValue(&command);
|
||||
sprintf(pBueffel,"ERROR: in Tcl line: %s",pCom);
|
||||
SCWrite(pCon,pBueffel,eError);
|
||||
SCWrite(pCon,"ERROR: in Tcl block:",eError);
|
||||
SCWrite(pCon,pCom,eError);
|
||||
SCWrite(pCon,"ERROR: end of Tcl error block",eError);
|
||||
}
|
||||
else /* SICS error */
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user