aboutsummaryrefslogtreecommitdiff
path: root/spec/inputs/syntax.yue
diff options
context:
space:
mode:
Diffstat (limited to 'spec/inputs/syntax.yue')
-rw-r--r--spec/inputs/syntax.yue9
1 files changed, 9 insertions, 0 deletions
diff --git a/spec/inputs/syntax.yue b/spec/inputs/syntax.yue
index cef3e3d..8904802 100644
--- a/spec/inputs/syntax.yue
+++ b/spec/inputs/syntax.yue
@@ -487,6 +487,15 @@ do
487 -- 487 --
488 488
489do 489do
490 -- Simple one-liners
491 x = 1; y = 2
492
493 -- Short related statements
494 i += 1; j += 1
495
496 if condition
497 setup!; run!; cleanup!
498
490 a = 1; b = 2; c = a + b 499 a = 1; b = 2; c = a + b
491 print a; print b; print c 500 print a; print b; print c
492 501