OSDN Git Service

* cpplib.h (cpp_reader): Add new flag, no_directives.
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 2 Feb 2000 21:41:35 +0000 (21:41 +0000)
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 2 Feb 2000 21:41:35 +0000 (21:41 +0000)
commit7189e1d2156aa256b2e05c85eab76a1963acf93e
tree85f4994520bd25edda71f41ae96e75498894cb12
parent640c05018413a7c13e97c574b88b7a6f755939a4
* cpplib.h (cpp_reader): Add new flag, no_directives.
* cpphash.c (macarg): Set it.
* cpplib.c (handle_directive): If no_directives is on and we
find a directive, issue an error and discard the line.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31763 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cpphash.c
gcc/cpplib.c
gcc/cpplib.h
gcc/testsuite/gcc.dg/undef.c [new file with mode: 0644]