* objc/objc-act.c (lang_init): Don't check_newline #if USE_CPPLIB.
authorPer Bothner <bothner@gcc.gnu.org>
Fri, 1 Aug 1997 21:17:44 +0000 (14:17 -0700)
committerPer Bothner <bothner@gcc.gnu.org>
Fri, 1 Aug 1997 21:17:44 +0000 (14:17 -0700)
From-SVN: r14601

gcc/objc/objc-act.c

index 4e05b3203a75e2e980b801addca20ef6a9faa38e..a0b20fea00bfe001c06f78676fba4ce877e32358 100644 (file)
@@ -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