(xuskipcommentlines): Include the lines skipped in the line count.

This commit is contained in:
Ron Koenderink 2005-11-29 23:38:32 +00:00
parent 03121d44aa
commit 125af4b338

View file

@ -401,6 +401,7 @@ xuskipcommentlines(FILE *fp)
do {
ch = getc(fp);
} while (ch != '\n' && ch != EOF);
lineno++;
} else {
ungetc(ch, fp);
return;