aboutsummaryrefslogtreecommitdiff
path: root/spec/inputs/syntax.moon
diff options
context:
space:
mode:
Diffstat (limited to 'spec/inputs/syntax.moon')
-rw-r--r--spec/inputs/syntax.moon24
1 files changed, 12 insertions, 12 deletions
diff --git a/spec/inputs/syntax.moon b/spec/inputs/syntax.moon
index 4435a1e..99daac5 100644
--- a/spec/inputs/syntax.moon
+++ b/spec/inputs/syntax.moon
@@ -284,8 +284,8 @@ z = a- b
284str = --[[ 284str = --[[
285This is a multi line comment. 285This is a multi line comment.
286It's OK. 286It's OK.
287]] strA -- comment 1 287]] strA \ -- comment 1
288 .. strB -- comment 2 288 .. strB \ -- comment 2
289 .. strC 289 .. strC
290 290
291func --[[port]] 3000, --[[ip]] "192.168.1.1" 291func --[[port]] 3000, --[[ip]] "192.168.1.1"
@@ -322,7 +322,7 @@ v = {
322 a -1 322 a -1
323 a( 323 a(
324-1) 324-1)
325 a 325 a \
326- 1 326- 1
327 a-1 327 a-1
328 a - 1 328 a - 1
@@ -335,7 +335,7 @@ v = {
335 a ~1 335 a ~1
336 a( 336 a(
337~1) 337~1)
338 a 338 a \
339~ 1 339~ 1
340 a~1 340 a~1
341 a ~ 1 341 a ~ 1
@@ -347,26 +347,26 @@ v = {
347} 347}
348 348
349do 349do
350 a = 1 350 a = 1 \
351 + 2 351 + 2 \
352 * 3 / 352 * 3 /
353 4 353 4
354 354
355 _1 = f1 -1 355 _1 = f1 -1 \
356 + 2 356 + 2 \
357 + 3 357 + 3
358 358
359 _2 = f1 - 1 359 _2 = f1 - 1 \
360 + 2 360 + 2 \
361 + 3 361 + 3
362 362
363 f2 = (x)-> print x 363 f2 = (x)-> print x \
364 +1 364 +1
365 365
366 a = f2! 366 a = f2!
367 -1 |> f2 367 -1 |> f2
368 368
369 a = f2! 369 a = f2! \
370 - 1 |> f2 370 - 1 |> f2
371 371
372 _1 \ 372 _1 \