summaryrefslogtreecommitdiff
path: root/script/parser/guide.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/parser/guide.lua')
-rw-r--r--script/parser/guide.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/script/parser/guide.lua b/script/parser/guide.lua
index b521b8c2..0ceb4d3f 100644
--- a/script/parser/guide.lua
+++ b/script/parser/guide.lua
@@ -139,6 +139,7 @@ function m.isLiteral(obj)
or tp == 'string'
or tp == 'number'
or tp == 'table'
+ or tp == 'function'
end
--- 获取字面量