r209315 - in /trunk/gcc/cp: ChangeLog parser.c ...

jason@gcc.gnu.org jason@gcc.gnu.org
Fri Apr 11 18:25:00 GMT 2014


Author: jason
Date: Fri Apr 11 18:25:07 2014
New Revision: 209315

URL: http://gcc.gnu.org/viewcvs?rev=209315&root=gcc&view=rev
Log:
	* parser.h (struct cp_token): Rename ambiguous_p to error_reported.
	* parser.c: Adjust.
	(cp_lexer_get_preprocessor_token): Always clear it.
	(cp_parser_lambda_expression): Use it to avoid duplicate diagnostics.

Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/parser.c
    trunk/gcc/cp/parser.h



More information about the Gcc-cvs mailing list