From 62b74cc2c5d48b9aeea7003403500aed16166576 Mon Sep 17 00:00:00 2001 From: Peter Johnson Date: Wed, 27 Sep 2006 06:58:50 +0000 Subject: [PATCH] Fix error message for arch/parser mismatch. svn path=/trunk/yasm/; revision=1632 --- frontends/yasm/yasm.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/frontends/yasm/yasm.c b/frontends/yasm/yasm.c index bd5f8004..16e6be99 100644 --- a/frontends/yasm/yasm.c +++ b/frontends/yasm/yasm.c @@ -481,8 +481,9 @@ main(int argc, char *argv[]) break; case YASM_ARCH_CREATE_BAD_PARSER: print_error(_("%s: `%s' is not a valid %s for %s `%s'"), - _("FATAL"), machine_name, _("machine"), - _("architecture"), cur_arch_module->keyword); + _("FATAL"), cur_parser_module->keyword, + _("parser"), _("architecture"), + cur_arch_module->keyword); break; default: print_error(_("%s: unknown architecture error"), _("FATAL")); -- 2.40.0