bug fix for #line directives

This commit is contained in:
eck 1990-03-29 10:45:15 +00:00
parent ed2516a57a
commit 99e74b2341

View file

@ -752,7 +752,7 @@ do_line(l)
struct token tk;
int t = GetToken(&tk);
SkipToNewLine();
if (t != EOF) SkipToNewLine();
LineNumber = l; /* the number of the next input line */
if (t == STRING) /* is there a filespecifier? */
FileName = tk.tk_str;