summaryrefslogtreecommitdiff
path: root/script/vm/compiler.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/vm/compiler.lua')
-rw-r--r--script/vm/compiler.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/script/vm/compiler.lua b/script/vm/compiler.lua
index 69cfdc55..a38329f8 100644
--- a/script/vm/compiler.lua
+++ b/script/vm/compiler.lua
@@ -1610,6 +1610,10 @@ local compilerSwitch = util.switch()
end
vm.setNode(source, fieldNode)
end)
+ : case 'doc.field.name'
+ : call(function (source)
+ vm.setNode(source, vm.compileNode(source.parent))
+ end)
: case 'doc.type.field'
: call(function (source)
if not source.extends then