]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/cp/ChangeLog
PR translation/90035
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 11 Apr 2019 15:28:18 +0000 (15:28 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 11 Apr 2019 15:28:18 +0000 (15:28 +0000)
commitf0121163b12a0b219fda70699bd398872eff80f7
treec0300bc78486da858fa3fc094ba9569b679abe8a
parent38d4f3f21e67bff8098a36815f9ad4790e68c088
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.

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