Problem: :args \"foo works like :args without argument.
Solution: Fix check for empty argument. (closes #3728)
alist_new();
}
- if (!ends_excmd(*eap->arg))
+ if (*eap->arg != NUL)
{
/*
* ":args file ..": define new argument list, handle like ":next"
%argdelete
endfunc
+func Test_args_with_quote()
+ args \"foobar
+ call assert_equal('"foobar', argv(0))
+ %argdelete
+endfunc
+
" Test for 0argadd and 0argedit
" Ported from the test_argument_0count.in test script
func Test_zero_argadd()
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 651,
/**/
650,
/**/