aboutsummaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorLi Jin <dragon-fly@qq.com>2021-02-09 16:23:15 +0800
committerLi Jin <dragon-fly@qq.com>2021-02-09 16:23:15 +0800
commit9f622c5bbd9cfb7e66a9fd3c371461af4249d566 (patch)
tree72a9157ca752b629dde288f4d2b97a072b7e0d5f /spec
parent4b5b9181d484607b6eeeda2608ff6483647222a9 (diff)
downloadyuescript-9f622c5bbd9cfb7e66a9fd3c371461af4249d566.tar.gz
yuescript-9f622c5bbd9cfb7e66a9fd3c371461af4249d566.tar.bz2
yuescript-9f622c5bbd9cfb7e66a9fd3c371461af4249d566.zip
partially fix another issue from issue #38.
Diffstat (limited to 'spec')
-rw-r--r--spec/inputs/syntax.mp16
1 files changed, 16 insertions, 0 deletions
diff --git a/spec/inputs/syntax.mp b/spec/inputs/syntax.mp
index 1bb962f..c8ad96d 100644
--- a/spec/inputs/syntax.mp
+++ b/spec/inputs/syntax.mp
@@ -82,6 +82,22 @@ something [[else]], 2
82 82
83_ = here(we)"go"[12123] 83_ = here(we)"go"[12123]
84 84
85split"abc xyz 123"\map"#"\printAll!
86
87_ = f""[a]
88_ = f""\b!
89_ = f"".c!
90
91f ""[a]
92f ""\b!
93f "".c!
94
95list{"abc", "xyz", "123"}\map"#"\printAll!
96
97_ = f{}[a]
98_ = f{}\b!
99_ = f{}.c!
100
85-- this runs 101-- this runs
86something = 102something =
87 test: 12323 103 test: 12323