https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90035
--- Comment #2 from Jakub Jelinek ---
Author: jakub
Date: Thu Apr 11 15:28:18 2019
New Revision: 270286
URL: https://gcc.gnu.org/viewcvs?rev=270286=gcc=rev
Log:
PR translation/90035
* parser.h (struct cp_parser): Add
type_definition_forbidden_message_arg member.
* parser.c (cp_debug_parser): Print it.
(cp_parser_check_type_definition): Pass
parser->type_definition_forbidden_message_arg as second argument to
error.
(cp_parser_has_attribute_expression, cp_parser_sizeof_operand): Set
parser->type_definition_forbidden_message_arg and use G_() with
%qs for parser->type_definition_forbidden_message instead of
building untranslatable message using concat.
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/parser.c
trunk/gcc/cp/parser.h