From 4c9ae52049adc57f799a908c766e5f4a089c6797 Mon Sep 17 00:00:00 2001 From: paladin-t Date: Thu, 14 Jan 2016 19:11:06 +0800 Subject: [PATCH] *fixed a compile issue. --- core/my_basic.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/my_basic.c b/core/my_basic.c index a85e347..1c54264 100755 --- a/core/my_basic.c +++ b/core/my_basic.c @@ -3362,7 +3362,11 @@ int _eval_script_routine(mb_interpreter_t* s, _ls_node_t** l, mb_value_t* va, un } } while(ast); +#ifdef MB_ENABLE_CLASS _out_of_scope(s, running, r->instance, true); +#else /* MB_ENABLE_CLASS */ + _out_of_scope(s, running, 0, true); +#endif /* MB_ENABLE_CLASS */ result = _proc_args(s, l, running, 0, 0, r, 0, 0, false); if(result != MB_FUNC_OK)