From dbbade744444d21dc6b8d370c095471d47b51654 Mon Sep 17 00:00:00 2001 From: Per Bothner Date: Fri, 1 Aug 1997 14:17:44 -0700 Subject: [PATCH] * objc/objc-act.c (lang_init): Don't check_newline #if USE_CPPLIB. From-SVN: r14601 --- gcc/objc/objc-act.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c index 4e05b3203a7..a0b20fea00b 100644 --- a/gcc/objc/objc-act.c +++ b/gcc/objc/objc-act.c @@ -505,10 +505,12 @@ static int generating_instance_variables = 0; void lang_init () { +#if !USE_CPPLIB /* The beginning of the file is a new line; check for #. With luck, we discover the real source file's name from that and put it in input_filename. */ ungetc (check_newline (), finput); +#endif /* The line number can be -1 if we had -g3 and the input file had a directive specifying line 0. But we want predefined -- 2.30.2