- ignore comments in pal files

This commit is contained in:
zolliker
2009-02-17 08:28:41 +00:00
parent b3ac7dff3f
commit a0e7c9782b

View File

@ -699,12 +699,14 @@ static int RunPolScan(pScanData self, int iPoint)
/* /*
ignore all errors here ignore all errors here
*/ */
if (buffer[0] != '#') {
InterpExecute(self->pSics,self->pCon,buffer); InterpExecute(self->pSics,self->pCon,buffer);
strtolower(buffer); strtolower(buffer);
if(strstr(buffer,"co") != NULL){ if(strstr(buffer,"co") != NULL){
pTAS->iPOL++; pTAS->iPOL++;
self->WriteScanPoints(self,iPoint); self->WriteScanPoints(self,iPoint);
} }
}
/* /*
but allow for interrupts but allow for interrupts
*/ */