aboutsummaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorLi Jin <dragon-fly@qq.com>2022-12-02 10:40:09 +0800
committerLi Jin <dragon-fly@qq.com>2022-12-02 10:40:09 +0800
commit298b18dbe852300199cc529c942a181bead5f135 (patch)
treef4b5ae89b6920fa0a12c693118f85334f19754f8 /spec
parenta6a65ba26a9d320611abcbfba49fa724edfb4dad (diff)
downloadyuescript-298b18dbe852300199cc529c942a181bead5f135.tar.gz
yuescript-298b18dbe852300199cc529c942a181bead5f135.tar.bz2
yuescript-298b18dbe852300199cc529c942a181bead5f135.zip
update Lua.
Diffstat (limited to 'spec')
-rw-r--r--spec/inputs/literals.yue1
-rw-r--r--spec/outputs/literals.lua1
2 files changed, 2 insertions, 0 deletions
diff --git a/spec/inputs/literals.yue b/spec/inputs/literals.yue
index ef8b5f1..6b666f0 100644
--- a/spec/inputs/literals.yue
+++ b/spec/inputs/literals.yue
@@ -13,6 +13,7 @@ _ = {
13 0x123p-123 13 0x123p-123
14 0xABCP+321 14 0xABCP+321
15 0x.1p-111 15 0x.1p-111
16 0xA_B_CP-3_2_1
16 17
17 .2323 18 .2323
18 .2323e-1 19 .2323e-1
diff --git a/spec/outputs/literals.lua b/spec/outputs/literals.lua
index 0d4d8b8..a578d58 100644
--- a/spec/outputs/literals.lua
+++ b/spec/outputs/literals.lua
@@ -11,6 +11,7 @@ local _ = {
11 0x123p-123, 11 0x123p-123,
12 0xABCP+321, 12 0xABCP+321,
13 0x.1p-111, 13 0x.1p-111,
14 0xABCP-321,
14 .2323, 15 .2323,
15 .2323e-1, 16 .2323e-1,
16 .2323e13434, 17 .2323e13434,