From a91135ce512f907ed085d9aac147d8fcad356406 Mon Sep 17 00:00:00 2001 From: Li Jin Date: Mon, 26 May 2025 11:07:38 +0800 Subject: Added assignment expression for switch syntax. --- spec/inputs/macro_export.yue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'spec/inputs/macro_export.yue') diff --git a/spec/inputs/macro_export.yue b/spec/inputs/macro_export.yue index cc7d459..75fd813 100644 --- a/spec/inputs/macro_export.yue +++ b/spec/inputs/macro_export.yue @@ -38,8 +38,8 @@ export macro copy = (src, dst, ...)-> " do local _src_, _dst_ - with _dst_ = #{dst} - with _src_ = #{src} + with _dst_ := #{dst} + with _src_ := #{src} #{table.concat for field in *{...} do " _dst_.#{field} = _src_.#{field} "}" -- cgit v1.2.3-55-g6feb