fix: 一处遗漏

This commit is contained in:
msojocs 2023-07-28 22:56:36 +08:00
parent 4aa9941578
commit cbd33f5375
4 changed files with 6 additions and 2 deletions

View File

@ -792,7 +792,8 @@ namespace night
{
auto v1 = this->ast_dispatch(false);
auto binary_or_just_value = this->make_binary_or_just_value(v1, false);
return this->make_call_or_just_expression(binary_or_just_value);
auto result = this->make_call_or_just_expression(binary_or_just_value);
return result;
}
night::ns_node *NSASTParse::ast_expression_no_binary()
{

View File

@ -22,7 +22,7 @@ namespace night
}
if (night::std_v_v_n == a2)
{
node->offset_24.vec = new std::vector<night::ns_node *>();
node->offset_24.vecVec = new std::vector<std::vector<night::ns_node *>*>();
}
this->offset_0.push_back(node);
// return node->offset_24_vec; // 审查内存是一层vector

View File

@ -73,6 +73,7 @@ namespace night
auto v19 = this->offset_4->next();
std::string v15(1, v19.data);
v7->offset_60 = v15;
v7->offset_84 = v14;
}
// goto LABEL_19;
}

View File

@ -16289,8 +16289,10 @@ unsigned __int8 **__fastcall night::NSToken::read_next(int a1)
night::NSStream::next(v19, *(night::NSStream **)(a1 + 4));
v15[0] = (int)v16;
std::string::_M_construct(v15, 1u, (char)v19[0]);
// v7->offset_60
std::string::operator=(v7 + 15, (int)v15);
std::string::_M_dispose((void **)v15);
// v7->offset_84
std::string::_M_assign((int)(v7 + 21), (int)v14);
}
goto LABEL_19;