diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2018-12-30 21:16:49 -0800 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2018-12-30 21:17:10 -0800 |
| commit | 435eae7c0ab10577431bb943a6f48873e5ecdf7c (patch) | |
| tree | e56cf4f0ecdf0a0502fb2e24148ab490ebd00549 /nomsu_decompiler.lua | |
| parent | 44c3fb26bfe922eb8bd749e8397a5de716b5d56c (diff) | |
Some minor fixes for (type of $ast) and indexing codegen.
Diffstat (limited to 'nomsu_decompiler.lua')
| -rw-r--r-- | nomsu_decompiler.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nomsu_decompiler.lua b/nomsu_decompiler.lua index 5a7cc02..8e94df8 100644 --- a/nomsu_decompiler.lua +++ b/nomsu_decompiler.lua @@ -186,7 +186,7 @@ tree_to_inline_nomsu = function(tree) elseif "IndexChain" == _exp_0 then local nomsu = NomsuCode:from(tree.source) for i, bit in ipairs(tree) do - if i > 1 then + if i > 1 and bit.type ~= "Index" then nomsu:add(".") end local bit_nomsu |
