From 8b3d02513eb1b096d82d116d8db80c7374c814b7 Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Mon, 28 Jun 1993 04:54:15 +0000 Subject: [PATCH] (DEFAULT_WORD_SWITCH_TAKES_ARG): Check for -iwithprefixbefore. (option_map): Add --include-with-prefix-before and --include-with-prefix-after. From-SVN: r4782 --- gcc/gcc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gcc/gcc.c b/gcc/gcc.c index 24205a4f1bd..504ceb275bc 100644 --- a/gcc/gcc.c +++ b/gcc/gcc.c @@ -399,7 +399,7 @@ static char *switches_need_spaces = SWITCHES_NEED_SPACES; || !strcmp (STR, "Tbss") || !strcmp (STR, "include") \ || !strcmp (STR, "imacros") || !strcmp (STR, "aux-info") \ || !strcmp (STR, "idirafter") || !strcmp (STR, "iprefix") \ - || !strcmp (STR, "iwithprefix")) + || !strcmp (STR, "iwithprefix") || !strcmp (STR, "iwithprefixbefore")) #ifndef WORD_SWITCH_TAKES_ARG #define WORD_SWITCH_TAKES_ARG(STR) DEFAULT_WORD_SWITCH_TAKES_ARG (STR) @@ -649,6 +649,8 @@ struct option_map option_map[] = {"--include-prefix", "-iprefix", "a"}, {"--include-directory-after", "-idirafter", "a"}, {"--include-with-prefix", "-iwithprefix", "a"}, + {"--include-with-prefix-before", "-iwithprefixbefore", "a"}, + {"--include-with-prefix-after", "-iwithprefix", "a"}, {"--machine-", "-m", "*j"}, {"--machine", "-m", "aj"}, {"--no-standard-includes", "-nostdinc", 0}, -- 2.30.2