summaryrefslogtreecommitdiff
path: root/gcc/cpplex.c
diff options
context:
space:
mode:
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2000-08-25 07:04:59 +0000
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2000-08-25 07:04:59 +0000
commitacc1a7c4e5dbaaa21eac3666c8cd726eec221084 (patch)
treef4b370ebfc18adb096f88e518bdcff2e9034bf19 /gcc/cpplex.c
parent681dbe98612209aa9731cede577fe6d1c4c2f206 (diff)
downloadgcc-acc1a7c4e5dbaaa21eac3666c8cd726eec221084.tar.gz
* cpplex.c (is_macro_disabled): Caller has already checked
that we're not a preprocessed file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35970 138bc75d-0d04-0410-961f-82ee72b054a4
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 779bcf0d60b..c5855266785 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