diff options
Diffstat (limited to 'script')
-rw-r--r-- | script/parser/guide.lua | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/script/parser/guide.lua b/script/parser/guide.lua index 85356e90..ae7fec25 100644 --- a/script/parser/guide.lua +++ b/script/parser/guide.lua @@ -1665,6 +1665,14 @@ local function stepRefOfGenericCrossTable(status, doc, typeName) if res.type == 'doc.type.table' then return res[where] end + if res.type == 'doc.type.array' then + if where == 'key' then + return status.interface and status.interface.docType('integer')[1] + end + if where == 'value' then + return res.node + end + end end end end |