diff options
author | schwab <schwab@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-09-08 09:43:16 +0000 |
---|---|---|
committer | schwab <schwab@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-09-08 09:43:16 +0000 |
commit | 76660157d5f0f19cd620e4a038609950a3047a45 (patch) | |
tree | 1f808c7c3efca754b701827048ba3ec694494be3 /gcc/cccp.c | |
parent | dabc2f325bbe0dc4434517d3db686510d6098c98 (diff) | |
download | gcc-76660157d5f0f19cd620e4a038609950a3047a45.tar.gz |
* cccp.c (main): Fix handling of -include and -imacros options.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29204 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cccp.c')
-rw-r--r-- | gcc/cccp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cccp.c b/gcc/cccp.c index fcec1c619a8..c7f1db25c1b 100644 --- a/gcc/cccp.c +++ b/gcc/cccp.c @@ -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")) { |