]> gcc.gnu.org Git - gcc.git/commit - gcc/Makefile.in
Makefile.in (cppexp.o): Depend on cpphash.h.
authorGeoff Keating <geoffk@cygnus.com>
Thu, 9 Sep 1999 04:00:37 +0000 (04:00 +0000)
committerGeoffrey Keating <geoffk@gcc.gnu.org>
Thu, 9 Sep 1999 04:00:37 +0000 (04:00 +0000)
commitfc009f966c98317401b51127f59de4ad37bb7d19
treeadfb849ae0813b5bacab43fb7a7ab5ec23bc7fb6
parentd60f72aec57414b8339eecb25c33b423af7e6946
Makefile.in (cppexp.o): Depend on cpphash.h.

* Makefile.in (cppexp.o): Depend on cpphash.h.
* cppexp.c (cpp_lex): Handle `defined (xxx)' for poisoned xxx.
Include cpphash.h.
* cpphash.c (special_symbol): Handle plain `xxx' for poisoned xxx.
* cpplib.c (do_define): Generalise to handle poisoned definitions,
redefining poisoned identifiers, etc.
(do_undef): Don't allow poisoned identifiers to be undefined.
(do_pragma): Add #pragma poison.
(do_xifdef): Handle `#ifdef xxx' for poisoned xxx.

* cccp.c: Add T_POISON node type.
(special_symbol): Handle `defined(xxx)' and plain `xxx' for
poisoned xxx.
(do_define): Generalise to handle poisoned definitions,
redefining poisoned identifiers, etc.
(do_undef): Don't allow poisoned identifiers to be undefined.
(do_pragma): Add #pragma poison.
(do_xifdef): Handle `#ifdef xxx' for poisoned xxx.

* c-pragma.c (handle_pragma_token): Ignore #pragma poison.
* c-pragma.h: Add ps_poison state.  We now always have generic
pragmas.

From-SVN: r29224
13 files changed:
gcc/ChangeLog
gcc/Makefile.in
gcc/c-pragma.c
gcc/c-pragma.h
gcc/cccp.c
gcc/cpp.texi
gcc/cppexp.c
gcc/cpphash.c
gcc/cpplib.c
gcc/cpplib.h
gcc/testsuite/gcc.c-torture/ChangeLog
gcc/testsuite/gcc.c-torture/noncompile/noncompile.exp
gcc/testsuite/gcc.c-torture/noncompile/poison-1.c [new file with mode: 0644]
This page took 0.060053 seconds and 5 git commands to generate.