From 99e74b23413537e3f6f4f5efb127475c6e69365e Mon Sep 17 00:00:00 2001 From: eck Date: Thu, 29 Mar 1990 10:45:15 +0000 Subject: [PATCH] bug fix for #line directives --- lang/cem/cpp.ansi/domacro.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lang/cem/cpp.ansi/domacro.c b/lang/cem/cpp.ansi/domacro.c index 9cd92f8ca..89c054e4c 100644 --- a/lang/cem/cpp.ansi/domacro.c +++ b/lang/cem/cpp.ansi/domacro.c @@ -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; -- 2.34.1