On Apr 3, 1:41 pm, char101 <[EMAIL PROTECTED]> wrote:
> the resulting gvim executable seems to be losing its regex capability,
> for example typing abc and then searching for a does not work.
After debugging the executable, it seems that the fault was 100%
mine :D
There is a compile error on regexp.c on this function which initial
content was
+ regprog_T *
+vim_regcomp(expr, re_flags)
+ char_u *expr;
+ int re_flags;
+{
+ regprog_T *prog = nfa_regengine.regcomp(expr, re_flags);
+
+ return prog ? : bt_regengine.regcomp(expr, re_flags);
+}
and without much thought I just change it into
return prog ? NULL : bt_regengine.regcomp(expr, re_flags);
which should actually be
return prog ? bt_regengine.regcomp(expr, re_flags) : NULL;
So now the regexp works, but I got this error with tSkeleton plugin
-------------------------------------------------------- Start of
error
Error detected while processing function
tskeleton#PrepareBits..<SNR>23_Prepar
eBuffer..<SNR>23_CollectFunctions..tskeleton#Initialize:
line 3:
E714: List required
Error detected while processing function
tskeleton#PrepareBits..<SNR>23_Prepar
eBuffer..<SNR>23_CollectFunctions:
line 4:
E714: List required
Error detected while processing function
tskeleton#PrepareBits..<SNR>23_Prepar
eBuffer..<SNR>23_CollectFunctions..tskeleton#Initialize:
line 3:
E714: List required
Error detected while processing function
tskeleton#PrepareBits..<SNR>23_Prepar
eBuffer..<SNR>23_CollectFunctions:
line 4:
E714: List required
-------------------------------------- End of error
But I cannot look into tSkeleton file since I am having difficulty
reading those error lines. Can anyone help translating those error
messages, i.e. in which function does the error happens?
---
Charles
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---