mirror of
https://github.com/neovim/neovim.git
synced 2025-09-07 03:48:18 +00:00
viml/parser/expressions: Make sure that listed nodes may be present
With the new test leaving `assert(false);` for any of the cases makes tests crash.
This commit is contained in:
@@ -3065,12 +3065,9 @@ viml_pexpr_parse_end:
|
||||
// to be caught later.
|
||||
break;
|
||||
}
|
||||
case kExprNodeSubscript:
|
||||
case kExprNodeConcatOrSubscript:
|
||||
case kExprNodeComplexIdentifier:
|
||||
case kExprNodeSubscript: {
|
||||
// FIXME: Investigate whether above are OK to be present in the stack.
|
||||
break;
|
||||
}
|
||||
case kExprNodeAssignment:
|
||||
case kExprNodeMod:
|
||||
case kExprNodeDivision:
|
||||
|
Reference in New Issue
Block a user