fixed line number after line directives

This commit is contained in:
ceriel 1989-11-21 11:33:21 +00:00
parent 01b937d82e
commit cf4c99a093

View file

@ -698,7 +698,7 @@ do_line(l)
int t = GetToken(&tk);
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? */
FileName = tk.tk_bts;
}