summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--asm/labels.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/asm/labels.c b/asm/labels.c
index 0f9f17d8..1b93348c 100644
--- a/asm/labels.c
+++ b/asm/labels.c
@@ -398,7 +398,7 @@ static bool declare_label_lptr(union label *lptr,
type == LBL_EXTERN) {
if (!lptr->defn.special)
lptr->defn.special = perm_copy(special);
- return true;
+ return false; /* Don't call define_label() after this! */
}
nasm_error(ERR_NONFATAL, "symbol `%s' declared both as %s and %s",