aboutsummaryrefslogtreecommitdiff
path: root/spec/inputs/whitespace.yue
diff options
context:
space:
mode:
authorLi Jin <dragon-fly@qq.com>2026-02-24 12:24:10 +0800
committerLi Jin <dragon-fly@qq.com>2026-02-24 12:24:10 +0800
commit0ccf4408271c8a0d147e3cf25689810862e8c1db (patch)
tree0316978c886bee79db8f77cfe4521518763be71c /spec/inputs/whitespace.yue
parentc2a34e380b7ff57b071f8081e1cac589eab664d3 (diff)
downloadyuescript-0ccf4408271c8a0d147e3cf25689810862e8c1db.tar.gz
yuescript-0ccf4408271c8a0d147e3cf25689810862e8c1db.tar.bz2
yuescript-0ccf4408271c8a0d147e3cf25689810862e8c1db.zip
Cleaned up and fixed more comment reserving codes.v0.33.4
Diffstat (limited to 'spec/inputs/whitespace.yue')
-rw-r--r--spec/inputs/whitespace.yue47
1 files changed, 47 insertions, 0 deletions
diff --git a/spec/inputs/whitespace.yue b/spec/inputs/whitespace.yue
index a999143..d0acdde 100644
--- a/spec/inputs/whitespace.yue
+++ b/spec/inputs/whitespace.yue
@@ -198,5 +198,52 @@ do
198 -- two 198 -- two
199 b: -> -- 2 199 b: -> -- 2
200 200
201do
202 tb = {
203
204 -- hello
205 print 123
206 -- abc
207
208
209
210
211
212
213
214 abc: 1
215
216
217 -- xyz
218 c: ""
219
220
221 z: 998
222
223 <close>: ->
224
225 -- hello
226 <eq>: ->
227 --[[OK]] --[[OK]]--good
228 <call>: ->
229 }
230
231 class CY
232 -- init xa
233 xa = 1
234 -- init xb
235 local xb = 2
236
237 -- new
238 new: => print xa, xb, xc, xd
239
240
241 -- init xc
242 const xc = 3
243
244 -- wait
245
246 -- init xd
247 close xd = <close>: =>
201 248
202nil 249nil