mirror of
https://github.com/msojocs/wx-compiler.git
synced 2025-07-19 00:00:04 +08:00
fix: compile, transitTable
This commit is contained in:
parent
86336dc14d
commit
ee3beaf0a4
@ -458,7 +458,6 @@ int main(int argc, const char **argv)
|
|||||||
const char off_5403C3[] = {'s', '\0', 'e', '\0'};
|
const char off_5403C3[] = {'s', '\0', 'e', '\0'};
|
||||||
std::string v111;
|
std::string v111;
|
||||||
std::string v113;
|
std::string v113;
|
||||||
std::map<std::string, std::vector<std::string>> v126;
|
|
||||||
int compilerResult = 0;
|
int compilerResult = 0;
|
||||||
std::map<std::string,std::string> v105;
|
std::map<std::string,std::string> v105;
|
||||||
|
|
||||||
@ -466,7 +465,7 @@ int main(int argc, const char **argv)
|
|||||||
fileContentMap, // a2
|
fileContentMap, // a2
|
||||||
v111, // a3
|
v111, // a3
|
||||||
v113, // a4
|
v113, // a4
|
||||||
v126, // a5
|
componentListMap, // a5
|
||||||
v105, // a6
|
v105, // a6
|
||||||
v53, // a7
|
v53, // a7
|
||||||
gwxMark, // a8
|
gwxMark, // a8
|
||||||
|
@ -1410,7 +1410,7 @@ namespace WXML{
|
|||||||
|
|
||||||
}
|
}
|
||||||
v317 << "var nv_require=function(){var nnm={";
|
v317 << "var nv_require=function(){var nnm={";
|
||||||
for (auto m = v292.rbegin(); m != v292.rend(); m++)
|
for (auto m = v292.begin(); m != v292.end(); m++)
|
||||||
{
|
{
|
||||||
v317 << "\"";
|
v317 << "\"";
|
||||||
v317 << WXML::Rewrite::ToStringCode(m->first);
|
v317 << WXML::Rewrite::ToStringCode(m->first);
|
||||||
@ -1429,7 +1429,7 @@ namespace WXML{
|
|||||||
v317 << "e.stack = $gstack(e.stack);";
|
v317 << "e.stack = $gstack(e.stack);";
|
||||||
v317 << "e.stack += '\\n at ' + n.substring(2);console.error(e);}" << lineEndMark;
|
v317 << "e.stack += '\\n at ' + n.substring(2);console.error(e);}" << lineEndMark;
|
||||||
v317 << "}}}()" << lineEndMark;
|
v317 << "}}}()" << lineEndMark;
|
||||||
for (auto n = v290.rbegin(); n != v290.rend(); n++)
|
for (auto n = v290.begin(); n != v290.end(); n++)
|
||||||
{
|
{
|
||||||
v317 << n->second << lineEndMark;
|
v317 << n->second << lineEndMark;
|
||||||
}
|
}
|
||||||
@ -1478,8 +1478,8 @@ namespace WXML{
|
|||||||
}
|
}
|
||||||
std::stringstream v327;
|
std::stringstream v327;
|
||||||
v327 << "m";
|
v327 << "m";
|
||||||
inc++;
|
|
||||||
v327 << inc;
|
v327 << inc;
|
||||||
|
inc++;
|
||||||
std::string v314 = v327.str();
|
std::string v314 = v327.str();
|
||||||
auto v276 = i->second->offset_272["get_page_z_name"];
|
auto v276 = i->second->offset_272["get_page_z_name"];
|
||||||
std::string v320 = "r";
|
std::string v320 = "r";
|
||||||
|
@ -871,18 +871,27 @@ namespace WXML
|
|||||||
keyList.push_back("$DECIMAL");
|
keyList.push_back("$DECIMAL");
|
||||||
keyList.push_back("$STRING");
|
keyList.push_back("$STRING");
|
||||||
keyList.push_back("(");
|
keyList.push_back("(");
|
||||||
keyList.push_back("-");
|
|
||||||
keyList.push_back("$KEYWORD");
|
|
||||||
keyList.push_back("[");
|
|
||||||
keyList.push_back("$VAR");
|
|
||||||
keyList.push_back("{");
|
|
||||||
|
|
||||||
for (auto &&i : keyList)
|
for (auto &&i : keyList)
|
||||||
{
|
{
|
||||||
t.clear();
|
t.clear();
|
||||||
t.push_back(19);
|
t.push_back(19);
|
||||||
Init_55F1E4(root, i, t);
|
Init_55F1E4(root, i, t);
|
||||||
}
|
}
|
||||||
|
target = "-";
|
||||||
|
Init_55F220_0(root, target, target);
|
||||||
|
|
||||||
|
keyList.clear();
|
||||||
|
keyList.push_back("$KEYWORD");
|
||||||
|
keyList.push_back("[");
|
||||||
|
keyList.push_back("$VAR");
|
||||||
|
keyList.push_back("{");
|
||||||
|
for (auto &&i : keyList)
|
||||||
|
{
|
||||||
|
t.clear();
|
||||||
|
t.push_back(19);
|
||||||
|
Init_55F1E4(root, i, t);
|
||||||
|
}
|
||||||
|
|
||||||
target = "-";
|
target = "-";
|
||||||
t.clear();
|
t.clear();
|
||||||
t.push_back(23);
|
t.push_back(23);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user