aboutsummaryrefslogtreecommitdiff
path: root/gdb/ada-exp.y
diff options
context:
space:
mode:
authorPaul N. Hilfinger <hilfinger@adacore.com>2006-01-12 08:36:29 +0000
committerPaul N. Hilfinger <hilfinger@adacore.com>2006-01-12 08:36:29 +0000
commit03ee6b2e0126a6fddd533a3e8ed3401fdee747b0 (patch)
tree5689eb9d4c286b99baa5aaa34e3b44f05f544866 /gdb/ada-exp.y
parent761ae4d6261a4d66de9a699b9ccee8688f12a9a5 (diff)
downloadgdb-03ee6b2e0126a6fddd533a3e8ed3401fdee747b0.zip
gdb-03ee6b2e0126a6fddd533a3e8ed3401fdee747b0.tar.gz
gdb-03ee6b2e0126a6fddd533a3e8ed3401fdee747b0.tar.bz2
* 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.
Diffstat (limited to 'gdb/ada-exp.y')
-rw-r--r--gdb/ada-exp.y2
1 files changed, 1 insertions, 1 deletions
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