Problem: Vim9: error when using "try|".
Solution: Allow for "|" right after a command.
#ifdef FEAT_EVAL
if (eap->cmdidx < CMD_SIZE
&& vim9
- && !IS_WHITE_OR_NUL(*p) && *p != '\n' && *p != '!'
+ && !IS_WHITE_OR_NUL(*p) && *p != '\n' && *p != '!' && *p != '|'
&& (eap->cmdidx < 0 ||
(cmdnames[eap->cmdidx].cmd_argt & EX_NONWHITE_OK) == 0))
{
endfor
assert_equal(4, counter)
+ # no requirement for spaces before |
+ try|echo 0|catch|endtry
+
# return in finally after empty catch
def ReturnInFinally(): number
try
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 3189,
/**/
3188,
/**/