]> git.ipfire.org Git - thirdparty/gcc.git/commit - libcpp/ChangeLog
re PR preprocessor/19475 (missing whitespace after macro name in C90 or C++)
authorJakub Jelinek <jakub@redhat.com>
Tue, 5 Apr 2005 20:07:06 +0000 (22:07 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 5 Apr 2005 20:07:06 +0000 (22:07 +0200)
commitcae064e7982fb1a9f7e2fd8208e83199786aa39c
tree304416eee80a3961e14c23478df57dbe2c47ef7f
parent87ac6a500a79d67ce4ef3cd0980eedf195ad33d0
re PR preprocessor/19475 (missing whitespace after macro name in C90 or C++)

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.

From-SVN: r97652
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