summaryrefslogtreecommitdiff
path: root/script/parser
diff options
context:
space:
mode:
Diffstat (limited to 'script/parser')
-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 2bd9066b..83321bac 100644
--- a/script/parser/guide.lua
+++ b/script/parser/guide.lua
@@ -252,6 +252,7 @@ function m.isLiteral(obj)
or tp == 'doc.type.string'
or tp == 'doc.type.integer'
or tp == 'doc.type.boolean'
+ or tp == 'doc.type.code'
end
--- 获取字面量