aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/yuescript/yue_ast.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuescript/yue_ast.cpp b/src/yuescript/yue_ast.cpp
index bcea4d5..cfd4cc6 100644
--- a/src/yuescript/yue_ast.cpp
+++ b/src/yuescript/yue_ast.cpp
@@ -883,7 +883,7 @@ std::string Assign_t::to_string(void* ud) const {
883 for (auto value : values.objects()) { 883 for (auto value : values.objects()) {
884 temp.emplace_back(value->to_string(ud)); 884 temp.emplace_back(value->to_string(ud));
885 } 885 }
886 return "= "s + join(temp, "; "sv); 886 return "= "s + join(temp, ", "sv);
887} 887}
888std::string Update_t::to_string(void* ud) const { 888std::string Update_t::to_string(void* ud) const {
889 return op->to_string(ud) + "= "s + value->to_string(ud); 889 return op->to_string(ud) + "= "s + value->to_string(ud);