aboutsummaryrefslogtreecommitdiff
path: root/test/unit/viml/expressions/lexer_spec.lua
diff options
context:
space:
mode:
authorZyX <kp-pav@yandex.ru>2017-10-09 02:55:56 +0300
committerZyX <kp-pav@yandex.ru>2017-10-15 19:13:52 +0300
commitfa3cfc0dd54df125a1dbabccda47a5f45dc483ae (patch)
treebe4c707c2bdfda3fab439d48b5ed9a5a93eb4856 /test/unit/viml/expressions/lexer_spec.lua
parentaf38cea133f5ebb67208cedd289e408cd1dad15a (diff)
downloadrneovim-fa3cfc0dd54df125a1dbabccda47a5f45dc483ae.tar.gz
rneovim-fa3cfc0dd54df125a1dbabccda47a5f45dc483ae.tar.bz2
rneovim-fa3cfc0dd54df125a1dbabccda47a5f45dc483ae.zip
viml/parser/expressions: Finish parser
Note: formatc.lua was unable to swallow some newer additions to ExprASTNodeType (specifically `kExprNodeOr = '|'` and probably something else), so all `= …` were dropped: in any case they only were there in order to not bother updating viml_pexpr_debug_print_ast_node and since it is now known all nodes which will be present it is not much of an issue.
Diffstat (limited to 'test/unit/viml/expressions/lexer_spec.lua')
-rw-r--r--test/unit/viml/expressions/lexer_spec.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/unit/viml/expressions/lexer_spec.lua b/test/unit/viml/expressions/lexer_spec.lua
index f180d8ceff..674b1b37db 100644
--- a/test/unit/viml/expressions/lexer_spec.lua
+++ b/test/unit/viml/expressions/lexer_spec.lua
@@ -62,9 +62,9 @@ child_call_once(function()
}
eltkn_opt_scope_tab = {
- [tonumber(lib.kExprLexOptUnspecified)] = 'Unspecified',
- [tonumber(lib.kExprLexOptGlobal)] = 'Global',
- [tonumber(lib.kExprLexOptLocal)] = 'Local',
+ [tonumber(lib.kExprOptScopeUnspecified)] = 'Unspecified',
+ [tonumber(lib.kExprOptScopeGlobal)] = 'Global',
+ [tonumber(lib.kExprOptScopeLocal)] = 'Local',
}
end)