diff options
author | Li Jin <dragon-fly@qq.com> | 2022-10-31 11:32:33 +0800 |
---|---|---|
committer | Li Jin <dragon-fly@qq.com> | 2022-11-09 11:29:32 +0800 |
commit | 417ec1a37922c6178900adfec70628cad46731ff (patch) | |
tree | a5a2d74927ad2c41b5a16264a78409e1c0334b72 /spec/inputs/syntax.yue | |
parent | 3dd607c8887d2fe0186668aabca31bb84a41e2da (diff) | |
download | yuescript-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.yue | 4 |
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 | ||
143 | print "what" if cool | 143 | print "what" if cool |
144 | 144 | ||
145 | reader\parse_line! until reader\eof! | ||
146 | |||
147 | reader\parse_line! while not reader\eof! | ||
148 | |||
145 | ((...)-> arg = {...})! | 149 | ((...)-> arg = {...})! |
146 | 150 | ||
147 | x = (...) -> | 151 | x = (...) -> |