* c-opts.c (needValue): Do cpp_find_main_file before processing
any imacros flags, so pfile->main_file is set for the latter.
From-SVN: r73212
+2003-11-02 Per Bothner <per@bothner.com>
+
+ * c-opts.c (needValue): Do cpp_find_main_file before processing
+ any imacros flags, so pfile->main_file is set for the latter.
+
2003-11-03 Andreas Jaeger <aj@suse.de>
Zack Weinberg <zack@codesourcery.com>
static bool
finish_options (const char *tif)
{
+ this_input_filename = tif;
+ if (! cpp_find_main_file (parse_in, this_input_filename))
+ return false;
+
if (!cpp_opts->preprocessed)
{
size_t i;
}
include_cursor = 0;
- this_input_filename = tif;
- if (! cpp_find_main_file (parse_in, this_input_filename))
- return false;
push_command_line_include ();
return true;
}