* jcf-parse.c (java_parse_file): Handle the case that input_filename
is NULL.
From-SVN: r78649
+2004-02-29 Roger Sayle <roger@eyesopen.com>
+
+ * jcf-parse.c (java_parse_file): Handle the case that input_filename
+ is NULL.
+
2004-02-27 Per Bothner <per@bothner.com>
* parse.y (build_assertion): Re-do 02-25 change following Jeff Sturm
finput = NULL;
}
else
- list = xstrdup (input_filename);
+ list = input_filename ? xstrdup (input_filename) : 0;
- do
+ while (list)
{
for (next = list; ; )
{
}
list = next;
}
- while (next);
if (filename_count == 0)
warning ("no input file specified");