]> git.ipfire.org Git - thirdparty/gcc.git/commit - libcpp/init.c
Don't warn on dollars in builtin macro definitions,
authorHans-Peter Nilsson <hp@axis.com>
Thu, 12 Jun 2003 06:09:15 +0000 (06:09 +0000)
committerHans-Peter Nilsson <hp@gcc.gnu.org>
Thu, 12 Jun 2003 06:09:15 +0000 (06:09 +0000)
commit78b8811a387bd5f91d4b0a70fdd63e043ffa4bf9
tree0ab8d16523fbcbfca756131fa06162d509f6269a
parented44683592f6503ce41f466aa075aa146235ca11
Don't warn on dollars in builtin macro definitions,

e.g. __REGISTER_PREFIX__.
* cpphash.h (struct cpp_reader): Move member warn_dollars...
* cpplib.h (struct cpp_options): ...to here.  Change type to
unsigned char.
* cppinit.c (cpp_create_reader): Set it to 1 here.
(post_options): Don't set it here.
* c-opts.c (c_common_init_options): Reset it to 0 here.
(finish_options): Set it here.
* cpplex.c (forms_identifier_p): Tweak for new location of
warn_dollars.

From-SVN: r67824
gcc/ChangeLog
gcc/c-opts.c
gcc/cpphash.h
gcc/cppinit.c
gcc/cpplex.c
gcc/cpplib.h