aboutsummaryrefslogtreecommitdiff
path: root/gcc/cppmain.c
diff options
context:
space:
mode:
authorNeil Booth <neil@cat.daikokuya.demon.co.uk>2001-07-29 22:27:20 +0000
committerNeil Booth <neil@gcc.gnu.org>2001-07-29 22:27:20 +0000
commit09b822537f65ad55e817f388e9edfb72df481160 (patch)
treea4545b1be233ce41483a3c3d4d1954f3b6541a6a /gcc/cppmain.c
parent833366d6c90ddcb12ec0b7d63b6e57fd3b0f5793 (diff)
downloadgcc-09b822537f65ad55e817f388e9edfb72df481160.zip
gcc-09b822537f65ad55e817f388e9edfb72df481160.tar.gz
gcc-09b822537f65ad55e817f388e9edfb72df481160.tar.bz2
cpphash.h (struct cpp_reader): Remove import_warning.
* 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. From-SVN: r44466
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 b946a8e..8f1982f 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;
}
}