Commit dbbade74 by Per Bothner

* objc/objc-act.c (lang_init): Don't check_newline #if USE_CPPLIB.

From-SVN: r14601
parent ec045ab4
...@@ -505,10 +505,12 @@ static int generating_instance_variables = 0; ...@@ -505,10 +505,12 @@ static int generating_instance_variables = 0;
void void
lang_init () lang_init ()
{ {
#if !USE_CPPLIB
/* The beginning of the file is a new line; check for #. /* The beginning of the file is a new line; check for #.
With luck, we discover the real source file's name from that With luck, we discover the real source file's name from that
and put it in input_filename. */ and put it in input_filename. */
ungetc (check_newline (), finput); ungetc (check_newline (), finput);
#endif
/* The line number can be -1 if we had -g3 and the input file /* The line number can be -1 if we had -g3 and the input file
had a directive specifying line 0. But we want predefined had a directive specifying line 0. But we want predefined
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment