Commit 9b49a0aa by Per Bothner Committed by Per Bothner

c-opts.c (finish_options): Set include_cursor to disable premature calls to…

c-opts.c (finish_options): Set include_cursor to disable premature calls to push_command_line_include from...


	* c-opts.c (finish_options):  Set include_cursor to disable premature
	calls to push_command_line_include from cpp_scan_nooutput.
	Fixes bug reported by DJ Delorie.

From-SVN: r73281
parent 51672143
2003-11-05 Per Bothner <pbothner@apple.com>
* c-opts.c (finish_options): Set include_cursor to disable premature
calls to push_command_line_include from cpp_scan_nooutput.
Fixes bug reported by DJ Delorie.
2003-11-05 Geoffrey Keating <geoffk@apple.com> 2003-11-05 Geoffrey Keating <geoffk@apple.com>
* config/rs6000/rs6000.c (setup_incoming_varargs): Remove * config/rs6000/rs6000.c (setup_incoming_varargs): Remove
......
...@@ -1440,7 +1440,11 @@ finish_options (const char *tif) ...@@ -1440,7 +1440,11 @@ finish_options (const char *tif)
if (opt->code == OPT_imacros if (opt->code == OPT_imacros
&& cpp_push_include (parse_in, opt->arg)) && cpp_push_include (parse_in, opt->arg))
cpp_scan_nooutput (parse_in); {
/* Disable push_command_line_include callback for now. */
include_cursor = deferred_count + 1;
cpp_scan_nooutput (parse_in);
}
} }
} }
......
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