diff options
Diffstat (limited to 'script/parser/guide.lua')
-rw-r--r-- | script/parser/guide.lua | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/script/parser/guide.lua b/script/parser/guide.lua index 206820ef..147e6237 100644 --- a/script/parser/guide.lua +++ b/script/parser/guide.lua @@ -1009,7 +1009,11 @@ function m.getKeyName(obj) return obj.enum[1] elseif tp == 'doc.field' then return obj.field[1] - elseif tp == 'doc.field.name' then + elseif tp == 'doc.field.name' + or tp == 'doc.type.name' + or tp == 'doc.class.name' + or tp == 'doc.alias.name' + or tp == 'doc.enum.name' then return obj[1] elseif tp == 'doc.type.field' then return m.getKeyName(obj.name) |