aboutsummaryrefslogtreecommitdiff
path: root/spec/inputs/syntax.yue
diff options
context:
space:
mode:
authorLi Jin <dragon-fly@qq.com>2022-04-01 17:47:27 +0800
committerLi Jin <dragon-fly@qq.com>2022-04-01 17:47:27 +0800
commitca1ed557769352c0ac0ca7804dd25e18c1fdf2e1 (patch)
treebf86d3990b90054f8d82aaf87cb9efae444a08ce /spec/inputs/syntax.yue
parent7be6c300256bfe411942a7ccc66f6bc3afa7390d (diff)
downloadyuescript-ca1ed557769352c0ac0ca7804dd25e18c1fdf2e1.tar.gz
yuescript-ca1ed557769352c0ac0ca7804dd25e18c1fdf2e1.tar.bz2
yuescript-ca1ed557769352c0ac0ca7804dd25e18c1fdf2e1.zip
fix some ambiguous syntax caused by arg table block.
Diffstat (limited to 'spec/inputs/syntax.yue')
-rw-r--r--spec/inputs/syntax.yue9
1 files changed, 5 insertions, 4 deletions
diff --git a/spec/inputs/syntax.yue b/spec/inputs/syntax.yue
index e7f0a8d..84c6578 100644
--- a/spec/inputs/syntax.yue
+++ b/spec/inputs/syntax.yue
@@ -267,11 +267,12 @@ z = x and b
267z = x andb 267z = x andb
268 268
269 269
270-- undelimited tables 270while 10 > something(
271 something: "world"
272 )
273 print "yeah"
271 274
272while 10 > something 275-- undelimited tables
273 something: "world"
274 print "yeah"
275 276
276x = 277x =
277 okay: sure 278 okay: sure