From 712260541914a8b771cb7274246d4dfced0f49f0 Mon Sep 17 00:00:00 2001 From: Wang Renxin Date: Sun, 12 Feb 2017 15:47:33 +0800 Subject: [PATCH] *fixed a parameter lookup bug when namespacing disabled. --- core/my_basic.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/my_basic.c b/core/my_basic.c index 8c1fc09..9b00410 100755 --- a/core/my_basic.c +++ b/core/my_basic.c @@ -5447,6 +5447,8 @@ _end_import: #else /* MB_ENABLE_MODULE */ ptr = (intptr_t)glbsyminscope->data; memcpy(*value, &ptr, sizeof(intptr_t)); + if(ptr == (intptr_t)_core_def) + _begin_routine_definition(s); #endif /* MB_ENABLE_MODULE */ result = _DT_FUNC;