Thank you for follow-up, Tony.

>with an unexpected space at the very start but only one space between
>1 and but, and none after 2. 
 
Yes, I knew that such behavior. And I also think the leading space is 
unecpected.

additional patch:
diff --git src/eval.c src/eval.c
index 81dc478..fd2f74c 100644
--- src/eval.c
+++ src/eval.c
@@ -9151,8 +9151,15 @@ prepare_assert_error(gap)
     char buf[NUMBUFLEN];
 
     ga_init2(gap, 1, 100);
-    ga_concat(gap, sourcing_name);
-    sprintf(buf, " line %ld", (long)sourcing_lnum);
+    if (sourcing_name != NULL)
+    {
+       ga_concat(gap, sourcing_name);
+       sprintf(buf, " line %ld", (long)sourcing_lnum);
+    }
+    else
+    {
+       sprintf(buf, "line %ld", (long)sourcing_lnum);
+    }
     ga_concat(gap, (char_u *)buf);
     ga_concat(gap, (char_u *)": ");
 }

Thx,
watiko

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui