@@ -217,6 +217,8 @@ int readdata()
|
|||||||
|
|
||||||
/* Otherwise process next line of input in current section */
|
/* Otherwise process next line of input in current section */
|
||||||
else
|
else
|
||||||
|
{
|
||||||
|
if (sect >=0) //for cases were no section is present on the top of the input file
|
||||||
{
|
{
|
||||||
inperr = newline(sect,line);
|
inperr = newline(sect,line);
|
||||||
if (inperr > 0)
|
if (inperr > 0)
|
||||||
@@ -225,6 +227,12 @@ int readdata()
|
|||||||
errsum++;
|
errsum++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
errcode = 200;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/* Stop if reach end of file or max. error count */
|
/* Stop if reach end of file or max. error count */
|
||||||
if (errsum == MAXERRS) break;
|
if (errsum == MAXERRS) break;
|
||||||
|
|||||||
Reference in New Issue
Block a user