From: Peter Johnson Date: Wed, 27 Sep 2006 06:58:50 +0000 (-0000) Subject: Fix error message for arch/parser mismatch. X-Git-Tag: v0.6.0~147 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=62b74cc2c5d48b9aeea7003403500aed16166576;p=yasm Fix error message for arch/parser mismatch. svn path=/trunk/yasm/; revision=1632 --- 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"));