(xuskipcommentlines): Include the lines skipped in the line count.
This commit is contained in:
parent
03121d44aa
commit
125af4b338
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue