Skip to content

Commit 5531531

Browse files
author
Over_score
committed
Fix for MEM-1 issue
1 parent 5aa0c1f commit 5531531

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/my_basic.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5758,7 +5758,7 @@ static _data_e _get_symbol_type(mb_interpreter_t* s, char* sym, _raw_t* value) {
57585758
}
57595759
/* _func_t */
57605760
if(!context->last_symbol ||
5761-
(context->last_symbol && ((context->last_symbol->type == _DT_FUNC && context->last_symbol->data.func->pointer != _core_close_bracket) ||
5761+
(context->last_symbol && ((context->last_symbol->type == _DT_FUNC && context->last_symbol->data.func->pointer != _core_close_bracket && context->last_symbol->data.func->pointer != _core_mem) ||
57625762
context->last_symbol->type == _DT_SEP || context->last_symbol->type == _DT_EOS))) {
57635763
if(strcmp("-", sym) == 0) {
57645764
ptr = (intptr_t)_core_neg;

0 commit comments

Comments
 (0)