File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -1703,7 +1703,7 @@ function! s:VimLParser.parse_lvalue()
1703
1703
throw s: Err (printf (' E461: Illegal variable name: %s' , node.value), node.pos)
1704
1704
endif
1705
1705
endif
1706
- if node.type == s: NODE_IDENTIFIER || node.type == s: NODE_CURLYNAME || node.type == s: NODE_SUBSCRIPT || node.type == s: NODE_DOT || node.type == s: NODE_OPTION || node.type == s: NODE_ENV || node.type == s: NODE_REG
1706
+ if node.type == s: NODE_IDENTIFIER || node.type == s: NODE_CURLYNAME || node.type == s: NODE_SUBSCRIPT || node.type == s: NODE_SLICE || node. type == s: NODE_DOT || node.type == s: NODE_OPTION || node.type == s: NODE_ENV || node.type == s: NODE_REG
1707
1707
return node
1708
1708
endif
1709
1709
throw s: Err (' Invalid Expression' , node.pos)
You can’t perform that action at this time.
0 commit comments