From 03ee6b2e0126a6fddd533a3e8ed3401fdee747b0 Mon Sep 17 00:00:00 2001 From: "Paul N. Hilfinger" Date: Thu, 12 Jan 2006 08:36:29 +0000 Subject: * ada-exp.y (yyerror): Change message to ignore the argument, avoiding translation problems. * ada-lang.c (ada_value_struct_elt): Change interface and handling of errors to avoid translation problem (and less than optimal error messages). (ada_value_tag, ada_tag_name_1, ada_tag_name_2, ada_evaluate_subexp): Use new interface to ada_value_struct_elt. * ada_lang.h (ada_value_struct_elt): Update declaration to new interface. * ChangeLog: remove reference to ada-tasks.c from entry of 2006-01-07. --- gdb/ada-exp.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/ada-exp.y') diff --git a/gdb/ada-exp.y b/gdb/ada-exp.y index c45e201..ae02907 100644 --- a/gdb/ada-exp.y +++ b/gdb/ada-exp.y @@ -768,7 +768,7 @@ ada_parse (void) void yyerror (char *msg) { - error (_("A %s in expression, near `%s'."), (msg ? msg : _("error")), lexptr); + error (_("Error in expression, near `%s'."), lexptr); } /* The operator name corresponding to operator symbol STRING (adds -- cgit v1.1