diff options
author | Li Jin <dragon-fly@qq.com> | 2023-08-17 10:36:15 +0800 |
---|---|---|
committer | Li Jin <dragon-fly@qq.com> | 2023-08-17 10:36:15 +0800 |
commit | e61cce21ef7def2c2e52dd6cb6a5b540ebcac29d (patch) | |
tree | 6e7c5e7e6f13157e9f8db26c38f6d8cba75683e5 /spec/inputs/unicode/stub.yue | |
parent | 289faf45ac26f7e0ac1a1e4305e5c42fc1e5b866 (diff) | |
download | yuescript-e61cce21ef7def2c2e52dd6cb6a5b540ebcac29d.tar.gz yuescript-e61cce21ef7def2c2e52dd6cb6a5b540ebcac29d.tar.bz2 yuescript-e61cce21ef7def2c2e52dd6cb6a5b540ebcac29d.zip |
add unicode identifier support, fix more issue from #144
Diffstat (limited to 'spec/inputs/unicode/stub.yue')
-rw-r--r-- | spec/inputs/unicode/stub.yue | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/spec/inputs/unicode/stub.yue b/spec/inputs/unicode/stub.yue new file mode 100644 index 0000000..05a9191 --- /dev/null +++ b/spec/inputs/unicode/stub.yue | |||
@@ -0,0 +1,18 @@ | |||
1 | |||
2 | |||
3 | 变量x = { | ||
4 | 值: 100 | ||
5 | 你好: => | ||
6 | 打印 @val | ||
7 | } | ||
8 | |||
9 | 函数 = 变量x\值 | ||
10 | 打印 函数! | ||
11 | 打印 变量x\值! | ||
12 | |||
13 | |||
14 | -- ... should be bubbled up anon functions | ||
15 | ((...)-> 变量x = 你好(...)\世界)! | ||
16 | |||
17 | nil | ||
18 | |||