summaryrefslogtreecommitdiff
path: root/gcc/cppmain.c
diff options
context:
space:
mode:
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2001-07-29 22:27:20 +0000
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2001-07-29 22:27:20 +0000
commit968e3f9d3a20d286e05fa087fc4892497d4e51fd (patch)
treea4545b1be233ce41483a3c3d4d1954f3b6541a6a /gcc/cppmain.c
parent7c2cc97e87a590de3744e03a25c262826087d3bc (diff)
downloadgcc-968e3f9d3a20d286e05fa087fc4892497d4e51fd.tar.gz
* cpphash.h (struct cpp_reader): Remove import_warning.
* cpplib.c (skip_rest_of_line): Don't bother turning off macro expansion. (parse_include): Move include handling to... (do_include_common): ... here. Move import warning from... (do_import): ... here. (do_pragma_poison): Don't do a callback for poison identifiers. * cpplib.h (struct cpp_callbacks): Don't do poison callbacks. * cppmain.c (setup_callbacks): Similarly. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44466 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cppmain.c')
-rw-r--r--gcc/cppmain.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/cppmain.c b/gcc/cppmain.c
index b946a8e66ee..8f1982f5389 100644
--- a/gcc/cppmain.c
+++ b/gcc/cppmain.c
@@ -193,7 +193,6 @@ setup_callbacks ()
{
cb->define = cb_define;
cb->undef = cb_undef;
- cb->poison = cb_def_pragma;
}
}