fixed line number after line directives
This commit is contained in:
parent
01b937d82e
commit
cf4c99a093
1 changed files with 1 additions and 1 deletions
|
@ -698,7 +698,7 @@ do_line(l)
|
||||||
int t = GetToken(&tk);
|
int t = GetToken(&tk);
|
||||||
|
|
||||||
SkipRestOfLine();
|
SkipRestOfLine();
|
||||||
LineNumber = l - 1; /* the number of the next input line */
|
LineNumber = l; /* the number of the next input line */
|
||||||
if (t == STRING) /* is there a filespecifier? */
|
if (t == STRING) /* is there a filespecifier? */
|
||||||
FileName = tk.tk_bts;
|
FileName = tk.tk_bts;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue