Commit e6ebd07b by Geoffrey Keating Committed by Geoffrey Keating

c-opts.c (push_command_line_include): Don't free deferred_opts, we'll need it.

	* c-opts.c (push_command_line_include): Don't free deferred_opts,
	we'll need it.
	(finish_options): Reset init_cursor.

From-SVN: r69381
parent 683b1112
2003-07-14 Geoffrey Keating <geoffk@apple.com>
* c-opts.c (push_command_line_include): Don't free deferred_opts,
we'll need it.
(finish_options): Reset init_cursor.
2003-07-15 Kazu Hirata <kazu@cs.umass.edu> 2003-07-15 Kazu Hirata <kazu@cs.umass.edu>
* expr.c (expand_assignment): Remove an unused argument * expr.c (expand_assignment): Remove an unused argument
......
...@@ -1418,6 +1418,7 @@ finish_options (void) ...@@ -1418,6 +1418,7 @@ finish_options (void)
} }
} }
include_cursor = 0;
push_command_line_include (); push_command_line_include ();
} }
...@@ -1438,7 +1439,6 @@ push_command_line_include (void) ...@@ -1438,7 +1439,6 @@ push_command_line_include (void)
if (include_cursor == deferred_count) if (include_cursor == deferred_count)
{ {
free (deferred_opts);
/* Restore the line map from <command line>. */ /* Restore the line map from <command line>. */
cpp_change_file (parse_in, LC_RENAME, main_input_filename); cpp_change_file (parse_in, LC_RENAME, main_input_filename);
/* -Wunused-macros should only warn about macros defined hereafter. */ /* -Wunused-macros should only warn about macros defined hereafter. */
......
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