diff options
author | Charles Crayne <chuck@thor.crayne.org> | 2008-03-12 22:39:03 -0700 |
---|---|---|
committer | Charles Crayne <chuck@thor.crayne.org> | 2008-03-12 22:39:03 -0700 |
commit | d60059ef41829dc9c26241541f9889e9ef7f212d (patch) | |
tree | 59b47a11b050be3fe534440ce74ec9c08f4ddb2f /labels.h | |
parent | aed5cfea58eaa66417e21fdbe49e891ced374ed9 (diff) | |
download | nasm-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 */ |