summaryrefslogtreecommitdiff
path: root/labels.h
diff options
context:
space:
mode:
authorCharles Crayne <chuck@thor.crayne.org>2008-03-12 22:39:03 -0700
committerCharles Crayne <chuck@thor.crayne.org>2008-03-12 22:39:03 -0700
commitd60059ef41829dc9c26241541f9889e9ef7f212d (patch)
tree59b47a11b050be3fe534440ce74ec9c08f4ddb2f /labels.h
parentaed5cfea58eaa66417e21fdbe49e891ced374ed9 (diff)
downloadnasm-d60059ef41829dc9c26241541f9889e9ef7f212d.tar.gz
nasm-d60059ef41829dc9c26241541f9889e9ef7f212d.tar.bz2
nasm-d60059ef41829dc9c26241541f9889e9ef7f212d.zip
Display fully qualified local label in "not defined" message
Add new function "local_scope" to label subsystem to return the previous non-local label for a given local label, and invoke this funcion in eval.c to display the fully qualified name in the "not defined" error message.
Diffstat (limited to 'labels.h')
-rw-r--r--labels.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/labels.h b/labels.h
index fba7a50..a16ac3d 100644
--- a/labels.h
+++ b/labels.h
@@ -25,5 +25,6 @@ void define_common(char *label, int32_t segment, int32_t size, char *special,
void declare_as_global(char *label, char *special, efunc error);
int init_labels(void);
void cleanup_labels(void);
+char *local_scope(char *label);
#endif /* LABELS_H */