diff src/eval.c @ 20061:6e6a75800884 v8.2.0586

patch 8.2.0586: Vim9: # comment not sufficiently tested Commit: https://github.com/vim/vim/commit/4a8d9f2ed8c0079732e35d72656a000641353b94 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Apr 16 22:54:32 2020 +0200 patch 8.2.0586: Vim9: # comment not sufficiently tested Problem: Vim9: # comment not sufficiently tested Solution: Check for preceding white space.
author Bram Moolenaar <Bram@vim.org>
date Thu, 16 Apr 2020 23:00:04 +0200
parents de756b3f4dee
children a64c16ff98b8
line wrap: on
line diff
--- a/src/eval.c
+++ b/src/eval.c
@@ -6143,7 +6143,7 @@ ex_execute(exarg_T *eap)
 
     if (eap->skip)
 	++emsg_skip;
-    while (*arg != NUL && *arg != '|' && *arg != '\n')
+    while (!ends_excmd2(eap->cmd, arg) || *arg == '"')
     {
 	ret = eval1_emsg(&arg, &rettv, !eap->skip);
 	if (ret == FAIL)