aboutsummaryrefslogtreecommitdiff
path: root/spec/inputs/whitespace.yue
diff options
context:
space:
mode:
authorLi Jin <dragon-fly@qq.com>2026-01-19 17:11:31 +0800
committerLi Jin <dragon-fly@qq.com>2026-01-19 17:11:31 +0800
commitccfe66f87663e10603e453f02894bb82dd23c93b (patch)
tree78f90066a182978bd74218440d13bd3a4dd1d269 /spec/inputs/whitespace.yue
parent8a01e9c4ec201ad7079f6863c9236851d162b864 (diff)
downloadyuescript-ccfe66f87663e10603e453f02894bb82dd23c93b.tar.gz
yuescript-ccfe66f87663e10603e453f02894bb82dd23c93b.tar.bz2
yuescript-ccfe66f87663e10603e453f02894bb82dd23c93b.zip
Made `;` work as statements separator.
Diffstat (limited to 'spec/inputs/whitespace.yue')
-rw-r--r--spec/inputs/whitespace.yue10
1 files changed, 5 insertions, 5 deletions
diff --git a/spec/inputs/whitespace.yue b/spec/inputs/whitespace.yue
index 2655961..e501d3d 100644
--- a/spec/inputs/whitespace.yue
+++ b/spec/inputs/whitespace.yue
@@ -128,19 +128,19 @@ v = ->
128 c -- v3 128 c -- v3
129 129
130v1, v2, \ 130v1, v2, \
131 v3 = -> 131 v3 = (->
132 a; \-- end of function for v1 132 a), \-- end of function for v1
133 b, \-- v2 133 b, \-- v2
134 c -- v3 134 c -- v3
135 135
136a, b, \ 136a, b, \
137 c, d, \ 137 c, d, \
138e, f = 1, \ 138e, f = 1, \
139 f2 139 (f2
140 :abc; \-- arg2 140 :abc), \-- arg2
141 3, \ 141 3, \
142 4, \ 142 4, \
143 f5 abc; \-- arg5 143 f5(abc), \-- arg5
144 6 144 6
145 145
146for a, \-- destruct 1 146for a, \-- destruct 1