summaryrefslogtreecommitdiff
path: root/script/vm/def.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/vm/def.lua')
-rw-r--r--script/vm/def.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/script/vm/def.lua b/script/vm/def.lua
index 7ce8ad7a..b1bedc43 100644
--- a/script/vm/def.lua
+++ b/script/vm/def.lua
@@ -19,6 +19,10 @@ simpleSwitch = util.switch()
pushResult(loc)
end
end)
+ : case 'doc.field'
+ : call(function (source, pushResult)
+ pushResult(source)
+ end)
---@param source parser.object
---@param pushResult fun(src: parser.object)