gcc/libcpp
Volker Reichelt ab84748af1 re PR c++/23333 (accepts invalid pure specifier)
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.

From-SVN: r108947
2005-12-22 12:01:44 +00:00
..
include re PR c++/23333 (accepts invalid pure specifier) 2005-12-22 12:01:44 +00:00
po * vi.po: Update. 2005-12-06 13:40:58 +00:00
ChangeLog re PR c++/23333 (accepts invalid pure specifier) 2005-12-22 12:01:44 +00:00
Makefile.in all files: Update FSF address in copyright headers. 2005-06-29 02:34:39 +00:00
aclocal.m4 top level: 2005-06-13 08:26:05 +00:00
charset.c re PR c++/17964 (cpp error messages contain wrong line in C++) 2005-11-03 23:08:18 +00:00
config.in configure.ac: Check declarations for asprintf and vasprintf. 2005-05-28 15:52:48 +00:00
configure configure.in (arm-*-linux-gnueabi): Add to noconfigdirs target-libffi... 2005-10-08 18:17:20 +00:00
configure.ac configure.in (arm-*-linux-gnueabi): Add to noconfigdirs target-libffi... 2005-10-08 18:17:20 +00:00
directives.c re PR preprocessor/13726 (cpp -C -dI loses comments on same line as #include directives) 2005-10-04 18:06:19 +00:00
errors.c cp-tree.h (cp_cpp_error), [...]): Take va_list* parameter. 2005-11-04 01:16:32 +00:00
expr.c cpplib.h (CPP_N_DFLOAT): New. 2005-12-07 10:13:15 +11:00
files.c Fix failure with pragma once where buffer is NULL and buffer_valid is true. 2005-11-03 18:10:19 -08:00
identifiers.c all files: Update FSF address in copyright headers. 2005-06-29 02:34:39 +00:00
init.c re PR c/24101 (Segfault with preprocessed source) 2005-11-09 07:30:03 +01:00
internal.h Fix bug with -MM -MG. 2005-10-21 10:54:20 -07:00
lex.c c.opt (fextended-identifiers): New. 2005-09-20 21:31:37 +01:00
line-map.c all files: Update FSF address in copyright headers. 2005-06-29 02:34:39 +00:00
macro.c re PR preprocessor/22042 (stringification BUG) 2005-11-03 16:23:01 -08:00
makedepend.c all files: Update FSF address in copyright headers. 2005-06-29 02:34:39 +00:00
makeucnid.c all files: Update FSF address in copyright headers. 2005-06-29 02:34:39 +00:00
mkdeps.c all files: Update FSF address in copyright headers. 2005-06-29 02:34:39 +00:00
pch.c all files: Update FSF address in copyright headers. 2005-06-29 02:34:39 +00:00
symtab.c all files: Update FSF address in copyright headers. 2005-06-29 02:34:39 +00:00
system.h all files: Update FSF address in copyright headers. 2005-06-29 02:34:39 +00:00
traditional.c all files: Update FSF address in copyright headers. 2005-06-29 02:34:39 +00:00
ucnid.h all files: Update FSF address in copyright headers. 2005-06-29 02:34:39 +00:00
ucnid.tab all files: Update FSF address in copyright headers. 2005-06-29 02:34:39 +00:00