bug fix for #line directives

This commit is contained in:
eck 1990-03-29 10:45:15 +00:00
parent f2e782cf95
commit 151b89ac03

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;