OSDN Git Service

PR preprocessor/19475
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 5 Apr 2005 20:07:06 +0000 (20:07 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 5 Apr 2005 20:07:06 +0000 (20:07 +0000)
commit99617355e9cba5fc47f5283caefbe0f22ef8c578
tree304416eee80a3961e14c23478df57dbe2c47ef7f
parentcce7d16e8c6047c02f61bf8e7ab2a5b4cafd5fa0
PR preprocessor/19475
* macro.c (create_iso_definition): For < ISO C99, don't
pedwarn if there is no whitespace between macro name and its
replacement, but the replacement starts with a basic character
set character.

* gcc.dg/cpp/macspace1.c: New test.
* gcc.dg/cpp/macspace2.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97652 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/cpp/macspace1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/cpp/macspace2.c [new file with mode: 0644]
libcpp/ChangeLog
libcpp/macro.c