diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 1993-04-27 14:58:13 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 1993-04-27 14:58:13 +0000 |
commit | 3b39b94f8463fabe0ad1c7d1f897fe16f35e4a0a (patch) | |
tree | 3465c70e0d23b2c903d7c05c1fc7834ecb846069 /gcc/gcc.c | |
parent | ab034cfc0ae8017daee188d4e1ea971d77c30a1a (diff) | |
download | gcc-3b39b94f8463fabe0ad1c7d1f897fe16f35e4a0a.zip gcc-3b39b94f8463fabe0ad1c7d1f897fe16f35e4a0a.tar.gz gcc-3b39b94f8463fabe0ad1c7d1f897fe16f35e4a0a.tar.bz2 |
Base WORD_SWITCH_TAKES_ARG on new macro DEFAULT_WORD_SWITCH_TAKES_ARG
From-SVN: r4247
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r-- | gcc/gcc.c | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -394,11 +394,15 @@ static char *switches_need_spaces = SWITCHES_NEED_SPACES; /* This defines which multi-letter switches take arguments. */ -#ifndef WORD_SWITCH_TAKES_ARG -#define WORD_SWITCH_TAKES_ARG(STR) \ +#define DEFAULT_WORD_SWITCH_TAKES_ARG(STR) \ (!strcmp (STR, "Tdata") || !strcmp (STR, "Ttext") \ || !strcmp (STR, "Tbss") || !strcmp (STR, "include") \ - || !strcmp (STR, "imacros") || !strcmp (STR, "aux-info")) + || !strcmp (STR, "imacros") || !strcmp (STR, "aux-info") \ + || !strcmp (STR, "idirafter") || !strcmp (STR, "iprefix") \ + || !strcmp (STR, "iwithprefix")) + +#ifndef WORD_SWITCH_TAKES_ARG +#define WORD_SWITCH_TAKES_ARG(STR) DEFAULT_WORD_SWITCH_TAKES_ARG (STR) #endif /* Record the mapping from file suffixes for compilation specs. */ |