aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLi Jin <dragon-fly@qq.com>2021-03-02 15:17:14 +0800
committerLi Jin <dragon-fly@qq.com>2021-03-02 15:17:14 +0800
commit66168b112b707172b9035edf8c1daed469781e06 (patch)
treedf67c5f8a6eef6b83a0b60de837429b3b99b7846
parent990abfb9e1a464b962471f559c9ccff225f62f39 (diff)
downloadyuescript-66168b112b707172b9035edf8c1daed469781e06.tar.gz
yuescript-66168b112b707172b9035edf8c1daed469781e06.tar.bz2
yuescript-66168b112b707172b9035edf8c1daed469781e06.zip
add test case.
-rw-r--r--spec/inputs/ambiguous.yue7
1 files changed, 6 insertions, 1 deletions
diff --git a/spec/inputs/ambiguous.yue b/spec/inputs/ambiguous.yue
index d147e8e..0e09979 100644
--- a/spec/inputs/ambiguous.yue
+++ b/spec/inputs/ambiguous.yue
@@ -22,5 +22,10 @@ for i = 1, 10
22 (print) 4 22 (print) 4
23 goto abc 23 goto abc
24 (print) 5 24 (print) 5
25nil
26 25
26macro v = -> 'print 123'
27do
28 global *
29 $v!
30
31nil