]> git.ipfire.org Git - thirdparty/gcc.git/commit - libcpp/ChangeLog
re PR preprocessor/28227 (valid #ifdef rejected)
authorTom Tromey <tromey@redhat.com>
Fri, 12 Jan 2007 19:46:49 +0000 (19:46 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Fri, 12 Jan 2007 19:46:49 +0000 (19:46 +0000)
commitee1c2a100a7f3e0223175981db41f4f28821028b
tree98deba1dfe7c6b9c082beb511fe09a10db6319c8
parent3d283195f78bbfc85038982de371ab89477e9b63
re PR preprocessor/28227 (valid #ifdef rejected)

libcpp
PR preprocessor/28227:
* directives.c (lex_macro_node): Added 'is_def_or_undef'
argument.
(do_define): Update.
(do_undef): Update.
(do_ifdef): Update.
(do_ifndef): Update.
gcc/testsuite
PR preprocessor/28227:
* gcc.dg/cpp/pr28227.c: New file.

From-SVN: r120731
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/cpp/pr28227.c [new file with mode: 0644]
libcpp/ChangeLog
libcpp/directives.c