From 700f4b7257a1a3948ba02fb492c83325016625b6 Mon Sep 17 00:00:00 2001 From: msojocs Date: Wed, 30 Aug 2023 20:01:26 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E4=B8=80=E5=A4=84?= =?UTF-8?q?=E5=87=BD=E6=95=B0=E5=90=8D=E4=B8=A2=E5=A4=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/night/night.cpp | 8 ++++---- src/wxml/compiler.cpp | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/night/night.cpp b/src/night/night.cpp index fa3e65b..c54a391 100644 --- a/src/night/night.cpp +++ b/src/night/night.cpp @@ -49,11 +49,11 @@ namespace night std::string nst_ = "nt_"; int compile_ns( - std::string const& a1, - std::string const& a2, - std::string const& a3, + std::string const& a1, // 文件名 + std::string const& a2, // 函数名 + std::string const& a3, // 文件内容 uint a4, - std::string& a5, + std::string& a5, // 结果 bool a6) { a5 = ""; diff --git a/src/wxml/compiler.cpp b/src/wxml/compiler.cpp index f49cda2..b2060e9 100644 --- a/src/wxml/compiler.cpp +++ b/src/wxml/compiler.cpp @@ -185,7 +185,7 @@ namespace WXML{ } return pResult; } - + int CompileLazy( std::map const& fileContentMap, // a1 std::string& errorMessage, // 错误信息 a2 @@ -881,8 +881,8 @@ namespace WXML{ std::string v314 = "m_" + key; v314.append(":"); v314.append(v299); - WXML::Compiler::GetFuncId(v292, v314); - std::string v309, v297; + std::string v309 = WXML::Compiler::GetFuncId(v292, v314); + std::string v297; int v246 = night::compile_ns(key, v309, v304, v280, v297, false); if(v246) {