2005-12-22 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
authorreichelt <reichelt@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 22 Dec 2005 12:01:44 +0000 (12:01 +0000)
committerreichelt <reichelt@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 22 Dec 2005 12:01:44 +0000 (12:01 +0000)
commit8dba02f779af476cdaf6c33c05eb0d7480acec95
treeb94f65ebd41d3c48ba009c669b5ad7aae0e5fc93
parentac42ecbd18cab1fdfb50ad161d437f2edf14f2b0
2005-12-22  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>

PR c++/23333
* include/cpplib.h: Add PURE_ZERO to flags for the cpp_token structure.

* c-lex.c (c_lex_with_flags): Add PURE_ZERO to cpp_flags if
number is a single digit '0'.

* parser.c (cp_parser_pure_specifier): Check for PURE_ZERO to
identify a single '0'.

* g++.dg/parse/error25.C: Add more tests.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108947 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c-lex.c
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/parse/error25.C
libcpp/ChangeLog
libcpp/include/cpplib.h