diff options
author | Li Jin <dragon-fly@qq.com> | 2021-03-02 15:17:14 +0800 |
---|---|---|
committer | Li Jin <dragon-fly@qq.com> | 2021-03-02 15:17:14 +0800 |
commit | 66168b112b707172b9035edf8c1daed469781e06 (patch) | |
tree | df67c5f8a6eef6b83a0b60de837429b3b99b7846 | |
parent | 990abfb9e1a464b962471f559c9ccff225f62f39 (diff) | |
download | yuescript-66168b112b707172b9035edf8c1daed469781e06.tar.gz yuescript-66168b112b707172b9035edf8c1daed469781e06.tar.bz2 yuescript-66168b112b707172b9035edf8c1daed469781e06.zip |
add test case.
-rw-r--r-- | spec/inputs/ambiguous.yue | 7 |
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 |
25 | nil | ||
26 | 25 | ||
26 | macro v = -> 'print 123' | ||
27 | do | ||
28 | global * | ||
29 | $v! | ||
30 | |||
31 | nil | ||