- ignore comments in pal files
This commit is contained in:
16
tasscan.c
16
tasscan.c
@ -697,13 +697,15 @@ static int RunPolScan(pScanData self, int iPoint)
|
|||||||
pTAS->iPOL = 0;
|
pTAS->iPOL = 0;
|
||||||
while (fgets(buffer, 131, fd) != NULL) {
|
while (fgets(buffer, 131, fd) != NULL) {
|
||||||
/*
|
/*
|
||||||
ignore all errors here
|
ignore all errors here
|
||||||
*/
|
*/
|
||||||
InterpExecute(self->pSics, self->pCon, buffer);
|
if (buffer[0] != '#') {
|
||||||
strtolower(buffer);
|
InterpExecute(self->pSics,self->pCon,buffer);
|
||||||
if (strstr(buffer, "co") != NULL) {
|
strtolower(buffer);
|
||||||
pTAS->iPOL++;
|
if(strstr(buffer,"co") != NULL){
|
||||||
self->WriteScanPoints(self, iPoint);
|
pTAS->iPOL++;
|
||||||
|
self->WriteScanPoints(self,iPoint);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
but allow for interrupts
|
but allow for interrupts
|
||||||
|
Reference in New Issue
Block a user