summaryrefslogtreecommitdiff
path: root/gcc/objc
diff options
context:
space:
mode:
authorbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>1997-08-01 21:17:44 +0000
committerbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>1997-08-01 21:17:44 +0000
commit082d79a1536b6397fee657c492ffc4ea5ce0026f (patch)
treec38e776d208455c060c7ec4bbfab077a075cf18e /gcc/objc
parent2eefa7875c4f9fbd277700dba67cee3619a2d4f3 (diff)
downloadgcc-082d79a1536b6397fee657c492ffc4ea5ce0026f.tar.gz
* objc/objc-act.c (lang_init): Don't check_newline #if USE_CPPLIB.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14601 138bc75d-0d04-0410-961f-82ee72b054a4
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 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