fix for asmconv - stop translating after .sect .end.

This commit is contained in:
Ben Gras 2010-02-03 16:03:00 +00:00
parent f28a0a5258
commit d6598cc7cd

View file

@ -507,7 +507,8 @@ void gnu_emit_instruction(asm86_t *a)
}
if (a->opcode == DOT_END) {
/* Ignore .end in gnu mode. */
/* Stop translating after .sect .end. */
exit(0);
} else
if (a->opcode == DOT_LABEL) {
assert(a->args->operator == ':');