aboutsummaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorLi Jin <dragon-fly@qq.com>2025-05-21 16:19:10 +0800
committerLi Jin <dragon-fly@qq.com>2025-05-21 16:19:10 +0800
commit040f6802ef02f6541e0213de0440f9b1b758d9fc (patch)
tree2fa5318eb3eb1192ac6d3c15a5340e3b37e1fae3 /spec
parent68f4b638d40bc31b24509283da309b8aef3fe758 (diff)
downloadyuescript-040f6802ef02f6541e0213de0440f9b1b758d9fc.tar.gz
yuescript-040f6802ef02f6541e0213de0440f9b1b758d9fc.tar.bz2
yuescript-040f6802ef02f6541e0213de0440f9b1b758d9fc.zip
Added support for mark global var const without initial value.
Diffstat (limited to 'spec')
-rw-r--r--spec/inputs/global.yue1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/inputs/global.yue b/spec/inputs/global.yue
index 8316d16..4e3b8aa 100644
--- a/spec/inputs/global.yue
+++ b/spec/inputs/global.yue
@@ -86,4 +86,5 @@ do
86 global const class A 86 global const class A
87 global const Flag = 1 87 global const Flag = 1
88 global const const, x, y = "const", 1, 2 88 global const const, x, y = "const", 1, 2
89 global const math, table
89 90