(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 { do {
ch = getc(fp); ch = getc(fp);
} while (ch != '\n' && ch != EOF); } while (ch != '\n' && ch != EOF);
lineno++;
} else { } else {
ungetc(ch, fp); ungetc(ch, fp);
return; return;