viml/parser/expressions,tests: Add AST freeing, with sanity checks

This commit is contained in:
ZyX
2017-10-15 20:05:35 +03:00
parent 206f7ae76a
commit 6c19cbef26
4 changed files with 210 additions and 36 deletions

View File

@@ -358,6 +358,8 @@ format_luav = function(v, indent)
else
ret = ('%e'):format(v)
end
elseif type(v) == 'nil' then
ret = 'nil'
else
print(type(v))
-- Not implemented yet