summaryrefslogtreecommitdiff
path: root/src/quickfix.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-12-06 21:11:39 +0100
committerBram Moolenaar <Bram@vim.org>2019-12-06 21:11:39 +0100
commit88a3e2b2ac33e3bb4b7cf9132eb75db051e8f4ed (patch)
treee1b47cda54a2725223924ad844c94365b2f9c63f /src/quickfix.c
parent1f3e7d3bf0aa1e015a591ce8f7ee7ab56589b452 (diff)
downloadvim-git-88a3e2b2ac33e3bb4b7cf9132eb75db051e8f4ed.tar.gz
patch 8.1.2401: :cexpr does not handle | in expressionv8.1.2401
Problem: :cexpr does not handle | in expression. Solution: Remove EX_TRLBAR and set nextcmd pointer.
Diffstat (limited to 'src/quickfix.c')
-rw-r--r--src/quickfix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quickfix.c b/src/quickfix.c
index 3d12374b4..206e90165 100644
--- a/src/quickfix.c
+++ b/src/quickfix.c
@@ -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)