vim have profdel in common with the part of breakdel.
So if FEAT_PROFILE isn't defined, profdel should occur E319.

https://gist.github.com/2929941

diff -r 869a63c3f311 src/ex_cmds2.c
--- a/src/ex_cmds2.c    Wed Jun 13 19:19:41 2012 +0200
+++ b/src/ex_cmds2.c    Thu Jun 14 21:12:34 2012 +0900
@@ -596,9 +596,14 @@
     garray_T   *gap;
 
     gap = &dbg_breakp;
+    if (eap->cmdidx == CMD_profdel)
 #ifdef FEAT_PROFILE
-    if (eap->cmdidx == CMD_profdel)
        gap = &prof_ga;
+#else
+    {
+       ex_ni(eap);
+       return;
+    }
 #endif
 
     if (vim_isdigit(*eap->arg))

-- 
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

Raspunde prin e-mail lui