(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 {
|
||||
ch = getc(fp);
|
||||
} while (ch != '\n' && ch != EOF);
|
||||
lineno++;
|
||||
} else {
|
||||
ungetc(ch, fp);
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue