From fe55e918fafb3f0fe9151e5473d1dcc1dd20e532 Mon Sep 17 00:00:00 2001 From: Keith Kanios Date: Mon, 9 Aug 2010 00:55:44 -0500 Subject: [PATCH] preproc.c: added deprecation warning for context-local label fallthrough --- preproc.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/preproc.c b/preproc.c index d75b58eb..885b3a98 100644 --- a/preproc.c +++ b/preproc.c @@ -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 */ -- 2.11.4.GIT