diff options
author | Keith Kanios <keith@kanios.net> | 2010-08-09 00:55:44 -0500 |
---|---|---|
committer | Keith Kanios <keith@kanios.net> | 2010-08-09 00:55:44 -0500 |
commit | fe55e918fafb3f0fe9151e5473d1dcc1dd20e532 (patch) | |
tree | f8db1ecb6d2cc2648b1bcf06f3839f37ac9cb7a2 /preproc.c | |
parent | 73b34a500671fcaf03ee2c9ee5b1d36779c723e7 (diff) | |
download | nasm-fe55e918fafb3f0fe9151e5473d1dcc1dd20e532.tar.gz |
preproc.c: added deprecation warning for context-local label fallthrough
Diffstat (limited to 'preproc.c')
-rw-r--r-- | preproc.c | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -1456,8 +1456,14 @@ static Context *get_ctx(const char *name, const char **namep, if (namep) *namep = name; - if (!all_contexts) + if (!all_contexts) { return ctx; + } else { + error(ERR_WARNING, "context-local label expansion" + " to outer contexts will be deprecated" + " starting in NASM 2.10, please update your" + " code accordingly"); + } do { /* Search for this smacro in found context */ |