diff options
Diffstat (limited to 'src/yue_wasm.cpp')
-rw-r--r-- | src/yue_wasm.cpp | 2 |
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" |