aboutsummaryrefslogtreecommitdiff
path: root/spec/inputs/unicode/plus.yue
diff options
context:
space:
mode:
authorLi Jin <dragon-fly@qq.com>2023-12-07 23:49:48 +0800
committerLi Jin <dragon-fly@qq.com>2023-12-07 23:55:16 +0800
commit514b9f97febe8920a78d6078b092fe84b859a963 (patch)
tree8c76ba7579f69db7e2c899e4713009b910e0fa89 /spec/inputs/unicode/plus.yue
parenta1d719e3bbfe8cd39c05d2a8f49143b9e814f876 (diff)
downloadyuescript-0.21.0.tar.gz
yuescript-0.21.0.tar.bz2
yuescript-0.21.0.zip
changed the if-assignment syntax to prevent some errors.v0.21.0
Diffstat (limited to '')
-rw-r--r--spec/inputs/unicode/plus.yue8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/inputs/unicode/plus.yue b/spec/inputs/unicode/plus.yue
index b08974f..70b57bb 100644
--- a/spec/inputs/unicode/plus.yue
+++ b/spec/inputs/unicode/plus.yue
@@ -8,13 +8,13 @@
8 8
9打印 @循环, @@函数 123 9打印 @循环, @@函数 123
10 10
11if 颜色 = 消息\匹配 "<%w*>" then 消息 = 消息\替换 "<%->", 颜色 11if 颜色 := 消息\匹配 "<%w*>" then 消息 = 消息\替换 "<%->", 颜色
12 12
13消息 = 消息\替换 "<%->", 颜色 if 颜色 = 消息\匹配 "<%w*>" 13消息 = 消息\替换 "<%->", 颜色 if 颜色 := 消息\匹配 "<%w*>"
14 14
15数值A = 方法! if 方法 = 获取方法! 15数值A = 方法! if 方法 := 获取方法!
16 16
17local 数值A = 方法! if 方法 = 获取方法! 17local 数值A = 方法! if 方法 := 获取方法!
18 18
19数值B = do 19数值B = do
20 方法 = 获取方法! 20 方法 = 获取方法!