* cccp.c (main): Fix handling of -include and -imacros options.
From-SVN: r29204
This commit is contained in:
parent
661d2b52d4
commit
29ffdfbb0f
@ -1,3 +1,7 @@
|
||||
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")) {
|
||||
|
Loading…
Reference in New Issue
Block a user