r116158 - in /branches/gcc-4_1-branch/gcc: Chan...

reichelt@gcc.gnu.org reichelt@gcc.gnu.org
Tue Aug 15 16:55:00 GMT 2006


Author: reichelt
Date: Tue Aug 15 16:55:25 2006
New Revision: 116158

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116158
Log:
	PR c/28649
	* c-parser.c (c_parser_compound_statement_nostart): Reset
	parser->error after each statement.

	* gcc.dg/parse-error-1.c: New test.
	* gcc.dg/parse-error-2.c: New test.
	* gcc.dg/cpp/digraph2.c: Add error-marker.
	* gcc.dg/noncompile/920923-1.c: Likewise.

Added:
    branches/gcc-4_1-branch/gcc/testsuite/gcc.dg/parse-error-1.c
    branches/gcc-4_1-branch/gcc/testsuite/gcc.dg/parse-error-2.c
Modified:
    branches/gcc-4_1-branch/gcc/ChangeLog
    branches/gcc-4_1-branch/gcc/c-parser.c
    branches/gcc-4_1-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_1-branch/gcc/testsuite/gcc.dg/cpp/digraph2.c
    branches/gcc-4_1-branch/gcc/testsuite/gcc.dg/noncompile/920923-1.c



More information about the Gcc-cvs mailing list