aboutsummaryrefslogtreecommitdiff
path: root/spec/outputs/codes_from_doc.lua
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--spec/outputs/codes_from_doc.lua12
1 files changed, 6 insertions, 6 deletions
diff --git a/spec/outputs/codes_from_doc.lua b/spec/outputs/codes_from_doc.lua
index e2bba8e..5c262d3 100644
--- a/spec/outputs/codes_from_doc.lua
+++ b/spec/outputs/codes_from_doc.lua
@@ -39,7 +39,7 @@ local apple = setmetatable({
39 } 39 }
40}) 40})
41if (getmetatable(apple) ~= nil) then 41if (getmetatable(apple) ~= nil) then
42 p(apple.color, getmetatable(apple).__index) 42 p(apple.size, apple.color, getmetatable(apple).__index)
43end 43end
44local _ud83c_udf1b = "月之脚本" 44local _ud83c_udf1b = "月之脚本"
45_module_0["🌛"] = _ud83c_udf1b 45_module_0["🌛"] = _ud83c_udf1b
@@ -59,11 +59,11 @@ do
59end 59end
60local funcA 60local funcA
61funcA = function() 61funcA = function()
62 return "assign the Yue defined variable" 62 return "fail to assign to the Yue defined variable"
63end 63end
64local function funcB() end 64local function funcB() end
65funcB = function() 65funcB = function()
66 return "assign the Lua defined variable" 66 return "assign to the Lua defined variable"
67end 67end
68-- raw Lua codes insertion 68-- raw Lua codes insertion
69if cond then 69if cond then
@@ -2045,7 +2045,7 @@ local apple = setmetatable({
2045 } 2045 }
2046}) 2046})
2047if (getmetatable(apple) ~= nil) then 2047if (getmetatable(apple) ~= nil) then
2048 p(apple.color, getmetatable(apple).__index) 2048 p(apple.size, apple.color, getmetatable(apple).__index)
2049end 2049end
2050local _ud83c_udf1b = "月之脚本" 2050local _ud83c_udf1b = "月之脚本"
2051_module_0["🌛"] = _ud83c_udf1b 2051_module_0["🌛"] = _ud83c_udf1b
@@ -2065,11 +2065,11 @@ do
2065end 2065end
2066local funcA 2066local funcA
2067funcA = function() 2067funcA = function()
2068 return "assign the Yue defined variable" 2068 return "fail to assign to the Yue defined variable"
2069end 2069end
2070local function funcB() end 2070local function funcB() end
2071funcB = function() 2071funcB = function()
2072 return "assign the Lua defined variable" 2072 return "assign to the Lua defined variable"
2073end 2073end
2074-- raw Lua codes insertion 2074-- raw Lua codes insertion
2075if cond then 2075if cond then