summaryrefslogtreecommitdiff
path: root/opcodes/s390-mkopc.c
diff options
context:
space:
mode:
Diffstat (limited to 'opcodes/s390-mkopc.c')
-rw-r--r--opcodes/s390-mkopc.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/opcodes/s390-mkopc.c b/opcodes/s390-mkopc.c
index d4cf3c999d8..b3f13ab5368 100644
--- a/opcodes/s390-mkopc.c
+++ b/opcodes/s390-mkopc.c
@@ -393,7 +393,10 @@ main (void)
insertExpandedMnemonic (opcode, mnemonic, format, min_cpu, mode_bits);
}
else
- fprintf (stderr, "Couldn't scan line %s\n", currentLine);
+ {
+ fprintf (stderr, "Couldn't scan line %s\n", currentLine);
+ exit (1);
+ }
}
dumpTable ();