From ccfe66f87663e10603e453f02894bb82dd23c93b Mon Sep 17 00:00:00 2001 From: Li Jin Date: Mon, 19 Jan 2026 17:11:31 +0800 Subject: Made `;` work as statements separator. --- spec/inputs/unicode/syntax.yue | 2 +- spec/inputs/unicode/whitespace.yue | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'spec/inputs/unicode') diff --git a/spec/inputs/unicode/syntax.yue b/spec/inputs/unicode/syntax.yue index 01d5c87..939579b 100644 --- a/spec/inputs/unicode/syntax.yue +++ b/spec/inputs/unicode/syntax.yue @@ -7,7 +7,7 @@ 函数 参数1, 参数2, 另外, 参数3 这里, 我们 = () ->, 是的 -这个, 不同 = () -> 方法; 是的 +这个, 不同 = (() -> 方法), 是的 爸爸() 爸爸(主) diff --git a/spec/inputs/unicode/whitespace.yue b/spec/inputs/unicode/whitespace.yue index efe55ce..151789a 100644 --- a/spec/inputs/unicode/whitespace.yue +++ b/spec/inputs/unicode/whitespace.yue @@ -97,19 +97,19 @@ v = -> 变量c -- v3 v1, v2, \ - v3 = -> - 变量a; \-- 函数结束于v1 + v3 = (-> + 变量a), \-- 函数结束于v1 变量b, \-- v2 变量c -- v3 变量a, 变量b, \ 变量c, 变量d, \ 变量e, 变量f = 1, \ - f2 - :abc; \-- 参数2 + (f2 + :abc), \-- 参数2 3, \ 4, \ - 函数5 abc; \-- 参数5 + 函数5(abc), \-- 参数5 6 for 变量a, \-- 解构1 -- cgit v1.2.3-55-g6feb