mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 8.1.2401: :cexpr does not handle | in expression
Problem: :cexpr does not handle | in expression. Solution: Remove EX_TRLBAR and set nextcmd pointer.
This commit is contained in:
@@ -7548,7 +7548,7 @@ ex_cexpr(exarg_T *eap)
|
||||
|
||||
// Evaluate the expression. When the result is a string or a list we can
|
||||
// use it to fill the errorlist.
|
||||
tv = eval_expr(eap->arg, NULL);
|
||||
tv = eval_expr(eap->arg, &eap->nextcmd);
|
||||
if (tv != NULL)
|
||||
{
|
||||
if ((tv->v_type == VAR_STRING && tv->vval.v_string != NULL)
|
||||
|
Reference in New Issue
Block a user