mirror of
https://github.com/neovim/neovim.git
synced 2025-12-15 19:05:40 +00:00
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.
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user