Commit 29ffdfbb by Andreas Schwab Committed by Andreas Schwab

* cccp.c (main): Fix handling of -include and -imacros options.

From-SVN: r29204
parent 661d2b52
Wed Sep 8 11:14:25 1999 Andreas Schwab <schwab@suse.de>
* cccp.c (main): Fix handling of -include and -imacros options.
Wed Sep 8 02:23:08 1999 Jeffrey A Law (law@cygnus.com)
* cpplib.c (cpp_push_buffer): Fix order of arguments.
......
......@@ -1301,16 +1301,16 @@ main (argc, argv)
if (i + 1 == argc)
fatal ("Filename missing after `-include' option");
else {
simplify_filename (pend_includes[i] = argv[i]);
i++;
simplify_filename (pend_includes[i] = argv[i]);
}
}
if (!strcmp (argv[i], "-imacros")) {
if (i + 1 == argc)
fatal ("Filename missing after `-imacros' option");
else {
simplify_filename (pend_files[i] = argv[i]);
i++;
simplify_filename (pend_files[i] = argv[i]);
}
}
if (!strcmp (argv[i], "-iprefix")) {
......
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