From eba73a696c65932534fd5aefbe2ca4c7260c0fb6 Mon Sep 17 00:00:00 2001 From: Li Jin Date: Thu, 20 Aug 2020 09:46:49 +0800 Subject: reserve the same Moonscript coma separated expressions behaviors. --- spec/inputs/syntax.moon | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'spec/inputs/syntax.moon') diff --git a/spec/inputs/syntax.moon b/spec/inputs/syntax.moon index 9895c44..4435a1e 100644 --- a/spec/inputs/syntax.moon +++ b/spec/inputs/syntax.moon @@ -291,13 +291,13 @@ It's OK. func --[[port]] 3000, --[[ip]] "192.168.1.1" f = -> - a,b, - c,d, + a,b, \ + c,d, \ e,f f = -> - a,b - ,c,d + a,b \ + ,c,d \ ,e,f with obj @@ -369,13 +369,13 @@ do a = f2! - 1 |> f2 - _1 - ,_2 - ,_3 - ,_4 = 1 - ,f 2 - ,3 - ,f 4, + _1 \ + ,_2 \ + ,_3 \ + ,_4 = 1 \ + ,f 2 \ + ,3 \ + ,f 4, \ 4 nil -- cgit v1.2.3-55-g6feb