* parser.h (struct cp_token): Rename ambiguous_p to error_reported.
commit4163a05c73dab8aff5bae05588947c74e20e4944
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 11 Apr 2014 18:25:07 +0000 (11 18:25 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 11 Apr 2014 18:25:07 +0000 (11 18:25 +0000)
tree6b34df289fc064532af23c0051a77abf3efd7d70
parentac89b23944c4c344dfc4cc4603fb045af4360f58
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209315 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/cp/parser.h