fix: 修复一处函数名丢失

This commit is contained in:
msojocs 2023-08-30 20:01:26 +08:00
parent ee3beaf0a4
commit 700f4b7257
2 changed files with 7 additions and 7 deletions

View File

@ -49,11 +49,11 @@ namespace night
std::string nst_ = "nt_"; std::string nst_ = "nt_";
int compile_ns( int compile_ns(
std::string const& a1, std::string const& a1, // 文件名
std::string const& a2, std::string const& a2, // 函数名
std::string const& a3, std::string const& a3, // 文件内容
uint a4, uint a4,
std::string& a5, std::string& a5, // 结果
bool a6) bool a6)
{ {
a5 = ""; a5 = "";

View File

@ -185,7 +185,7 @@ namespace WXML{
} }
return pResult; return pResult;
} }
int CompileLazy( int CompileLazy(
std::map<std::string,std::string> const& fileContentMap, // a1 std::map<std::string,std::string> const& fileContentMap, // a1
std::string& errorMessage, // 错误信息 a2 std::string& errorMessage, // 错误信息 a2
@ -881,8 +881,8 @@ namespace WXML{
std::string v314 = "m_" + key; std::string v314 = "m_" + key;
v314.append(":"); v314.append(":");
v314.append(v299); v314.append(v299);
WXML::Compiler::GetFuncId(v292, v314); std::string v309 = WXML::Compiler::GetFuncId(v292, v314);
std::string v309, v297; std::string v297;
int v246 = night::compile_ns(key, v309, v304, v280, v297, false); int v246 = night::compile_ns(key, v309, v304, v280, v297, false);
if(v246) if(v246)
{ {