mirror of
https://github.com/msojocs/wx-compiler.git
synced 2025-07-19 00:00:04 +08:00
fix: 修复一处函数名丢失
This commit is contained in:
parent
ee3beaf0a4
commit
700f4b7257
@ -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 = "";
|
||||||
|
@ -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)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user