aboutsummaryrefslogtreecommitdiff
path: root/src/yue_wasm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/yue_wasm.cpp')
-rw-r--r--src/yue_wasm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yue_wasm.cpp b/src/yue_wasm.cpp
index 4a054e6..daa5757 100644
--- a/src/yue_wasm.cpp
+++ b/src/yue_wasm.cpp
@@ -138,7 +138,7 @@ std::string exec(const std::string& codes) {
138 }; 138 };
139 139
140 execStr(R"yuescript( 140 execStr(R"yuescript(
141_G.__output = {} 141_G.__output = []
142_G.print = (...)-> 142_G.print = (...)->
143 _G.__output[] = table.concat [tostring select i, ... for i = 1, select "#", ...], " " 143 _G.__output[] = table.concat [tostring select i, ... for i = 1, select "#", ...], " "
144 _G.__output[] = "\n" 144 _G.__output[] = "\n"