aboutsummaryrefslogtreecommitdiff
path: root/spec/inputs/syntax.yue
diff options
context:
space:
mode:
authorLi Jin <dragon-fly@qq.com>2022-10-31 11:32:33 +0800
committerLi Jin <dragon-fly@qq.com>2022-11-09 11:29:32 +0800
commit417ec1a37922c6178900adfec70628cad46731ff (patch)
treea5a2d74927ad2c41b5a16264a78409e1c0334b72 /spec/inputs/syntax.yue
parent3dd607c8887d2fe0186668aabca31bb84a41e2da (diff)
downloadyuescript-417ec1a37922c6178900adfec70628cad46731ff.tar.gz
yuescript-417ec1a37922c6178900adfec70628cad46731ff.tar.bz2
yuescript-417ec1a37922c6178900adfec70628cad46731ff.zip
fix issue #112 and issue #113.
Diffstat (limited to 'spec/inputs/syntax.yue')
-rw-r--r--spec/inputs/syntax.yue4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/inputs/syntax.yue b/spec/inputs/syntax.yue
index e274f1a..1e01a26 100644
--- a/spec/inputs/syntax.yue
+++ b/spec/inputs/syntax.yue
@@ -142,6 +142,10 @@ if hello then _ = 343
142 142
143print "what" if cool 143print "what" if cool
144 144
145reader\parse_line! until reader\eof!
146
147reader\parse_line! while not reader\eof!
148
145((...)-> arg = {...})! 149((...)-> arg = {...})!
146 150
147x = (...) -> 151x = (...) ->