aboutsummaryrefslogtreecommitdiff
path: root/opcodes/xc16x-asm.c
diff options
context:
space:
mode:
Diffstat (limited to 'opcodes/xc16x-asm.c')
-rw-r--r--opcodes/xc16x-asm.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/opcodes/xc16x-asm.c b/opcodes/xc16x-asm.c
index cee7fe3..4d8cb4f 100644
--- a/opcodes/xc16x-asm.c
+++ b/opcodes/xc16x-asm.c
@@ -373,7 +373,9 @@ xc16x_cgen_parse_operand (CGEN_CPU_DESC cd,
default :
/* xgettext:c-format */
- fprintf (stderr, _("Unrecognized field %d while parsing.\n"), opindex);
+ opcodes_error_handler
+ (_("internal error: unrecognized field %d while parsing"),
+ opindex);
abort ();
}