Commit 39d4d12c authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

wrc: Handle "no files == stdin".

parent 05153596
......@@ -514,6 +514,13 @@ int main(int argc,char *argv[])
}
if (load_file( input_name, output_name )) exit(1);
}
/* stdin special case. NULL means "stdin" for wpp. */
if (nb_files == 0)
{
if(!output_name && !preprocess_only)
output_name = strdup("wrc.tab.res");
if (load_file( NULL, output_name )) exit(1);
}
if(debuglevel & DEBUGLEVEL_DUMP)
dump_resources(resource_top);
......
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