From 867db96d22171974e6c4e08e60560b0f4fec0cc8 Mon Sep 17 00:00:00 2001 From: msojocs Date: Mon, 17 Jul 2023 15:15:39 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=BB=86=E8=8A=82bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/wxml/dom_lib/wxml_dom.cpp | 2 +- src/wxml/expr_lib/expr_syntax_tree.cpp | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/wxml/dom_lib/wxml_dom.cpp b/src/wxml/dom_lib/wxml_dom.cpp index 8f4504f..81aba1d 100644 --- a/src/wxml/dom_lib/wxml_dom.cpp +++ b/src/wxml/dom_lib/wxml_dom.cpp @@ -1248,7 +1248,7 @@ namespace WXML { a6 << "else _w(" << v333 << ",x["; a6 << this->offset_248.GetStrID(a2) << "],"; a6 << this->offset_48["is"].offset_8 << ","; - a6 << this->offset_48["is"].offset_12 << ","; + a6 << this->offset_48["is"].offset_12; a6 << ")" << a12; LABEL_84: goto LABEL_169; diff --git a/src/wxml/expr_lib/expr_syntax_tree.cpp b/src/wxml/expr_lib/expr_syntax_tree.cpp index 9eb9be8..9cb31b4 100644 --- a/src/wxml/expr_lib/expr_syntax_tree.cpp +++ b/src/wxml/expr_lib/expr_syntax_tree.cpp @@ -104,8 +104,6 @@ namespace WXML else if (this->offset_0 == "OP_MAKE_DICT") { a2 << "[" << WXML::EXPRLib::OPShort::MAKE_KV << "],'"; - const char off_5542FA[] = {'\'','\0','[','\0'}; - a2 << off_5542FA; std::string v18 = this->offset_52[0]->offset_24.GetLiteral(); a2 << v18 << "',"; if (this->offset_52.size() <= 1)