aboutsummaryrefslogtreecommitdiff
path: root/spec/inputs
diff options
context:
space:
mode:
authorLi Jin <dragon-fly@qq.com>2026-02-05 16:22:00 +0800
committerLi Jin <dragon-fly@qq.com>2026-02-05 16:22:00 +0800
commit542c0d9f7db54b47d9372115bfc3d1548a0d8504 (patch)
tree1293c32564a9bd505e1d9771caaaa8483bffa335 /spec/inputs
parent49513fc94f5a98cb1cc8436d3c2364bee0a75b89 (diff)
downloadyuescript-542c0d9f7db54b47d9372115bfc3d1548a0d8504.tar.gz
yuescript-542c0d9f7db54b47d9372115bfc3d1548a0d8504.tar.bz2
yuescript-542c0d9f7db54b47d9372115bfc3d1548a0d8504.zip
Fixed issue #227.
Diffstat (limited to 'spec/inputs')
-rw-r--r--spec/inputs/syntax.yue4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/inputs/syntax.yue b/spec/inputs/syntax.yue
index ccf8b01..9f5aed1 100644
--- a/spec/inputs/syntax.yue
+++ b/spec/inputs/syntax.yue
@@ -538,5 +538,9 @@ do
538 538
539q = 1 --[[it's q]]; --[[got w]] w = 2; e = 3; print --[[param q]] q, w, e; --[[here]] -- line ends 539q = 1 --[[it's q]]; --[[got w]] w = 2; e = 3; print --[[param q]] q, w, e; --[[here]] -- line ends
540 540
541do
542 --[[abc]] --[[def]]--[[ dsdsd ]]--OK end
543 print 123 --[[one]] -- two
544
541nil 545nil
542 546