aboutsummaryrefslogtreecommitdiff
path: root/gcc/cpplex.c
diff options
context:
space:
mode:
authorNeil Booth <neilb@earthling.net>2000-08-25 07:04:59 +0000
committerNeil Booth <neil@gcc.gnu.org>2000-08-25 07:04:59 +0000
commitc2e205420935c7d696a7c733f941e8131de2b912 (patch)
treef4b370ebfc18adb096f88e518bdcff2e9034bf19 /gcc/cpplex.c
parent7965440a9bfda6f1cdfde23007e437db8d3e0e66 (diff)
downloadgcc-c2e205420935c7d696a7c733f941e8131de2b912.zip
gcc-c2e205420935c7d696a7c733f941e8131de2b912.tar.gz
gcc-c2e205420935c7d696a7c733f941e8131de2b912.tar.bz2
cpplex.c (is_macro_disabled): Caller has already checked that we're not a preprocessed file.
* cpplex.c (is_macro_disabled): Caller has already checked that we're not a preprocessed file. From-SVN: r35970
Diffstat (limited to 'gcc/cpplex.c')
-rw-r--r--gcc/cpplex.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/cpplex.c b/gcc/cpplex.c
index 779bcf0..c585526 100644
--- a/gcc/cpplex.c
+++ b/gcc/cpplex.c
@@ -2224,10 +2224,6 @@ is_macro_disabled (pfile, expansion, token)
{
cpp_context *context = CURRENT_CONTEXT (pfile);
- /* Don't expand anything if this file has already been preprocessed. */
- if (CPP_OPTION (pfile, preprocessed))
- return 1;
-
/* Arguments on either side of ## are inserted in place without
macro expansion (6.10.3.3.2). Conceptually, any macro expansion
occurs during a later rescan pass. The effect is that we expand