aboutsummaryrefslogtreecommitdiff
path: root/gcc/objc
diff options
context:
space:
mode:
authorPer Bothner <bothner@gcc.gnu.org>1997-08-01 14:17:44 -0700
committerPer Bothner <bothner@gcc.gnu.org>1997-08-01 14:17:44 -0700
commitdbbade744444d21dc6b8d370c095471d47b51654 (patch)
treec38e776d208455c060c7ec4bbfab077a075cf18e /gcc/objc
parentec045ab46e0065b7a10d2e050bdcccb73a7f4446 (diff)
downloadgcc-dbbade744444d21dc6b8d370c095471d47b51654.zip
gcc-dbbade744444d21dc6b8d370c095471d47b51654.tar.gz
gcc-dbbade744444d21dc6b8d370c095471d47b51654.tar.bz2
* objc/objc-act.c (lang_init): Don't check_newline #if USE_CPPLIB.
From-SVN: r14601
Diffstat (limited to 'gcc/objc')
-rw-r--r--gcc/objc/objc-act.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c
index 4e05b32..a0b20fe 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