From 61effb8d4be663e5c62df491610d90b3e862e83a Mon Sep 17 00:00:00 2001 From: Wang Renxin Date: Fri, 3 Nov 2017 14:37:50 +0800 Subject: [PATCH] *should prompt missing file while importing. --- core/my_basic.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/core/my_basic.c b/core/my_basic.c index fc97571..f4f9345 100755 --- a/core/my_basic.c +++ b/core/my_basic.c @@ -5449,8 +5449,6 @@ static _data_e _get_symbol_type(mb_interpreter_t* s, char* sym, _raw_t* value) { context->parsing_pos = pos; context->parsing_row = row; context->parsing_col = col; - if(last->prev && last->prev != context->imported) s->source_file = (char*)last->prev->data; - else s->source_file = 0; _handle_error_now(s, SE_PS_OPEN_FILE_FAILED, s->source_file, MB_FUNC_ERR); } _destroy_memory(last->data, last->extra);