From 2e9e28ceb3444e0aaf0ff7c704800b9cdc25dc87 Mon Sep 17 00:00:00 2001 From: Li Jin Date: Thu, 20 Feb 2020 15:59:22 +0800 Subject: fix comments issue. --- spec/inputs/whitespace.moon | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) (limited to 'spec') diff --git a/spec/inputs/whitespace.moon b/spec/inputs/whitespace.moon index 06b8773..06ce4eb 100644 --- a/spec/inputs/whitespace.moon +++ b/spec/inputs/whitespace.moon @@ -100,36 +100,37 @@ c(one, two, -- v = -> - a, - b, - c + a, -- v1 + b, -- v2 + c -- v3 v1, v2, v3 = -> - a; - b, - c + a; -- end of function for v1 + b, -- v2 + c -- v3 a, b, c, d, e, f = 1, f2 - :abc; + :abc; -- arg2 3, 4, - f5 abc; + f5 abc; -- arg5 6 -for a, - b, - c in pairs tb +for a, -- destruct 1 + b, -- destruct 2 + --[[destruct 3]] c + in pairs tb print a, b, c -for i = 1, - 10, - -1 +for i = 1, -- initial + 10, -- stop + -1 -- step print i local a, -- cgit v1.2.3-55-g6feb