On Apr 1, 3:53 pm, "Xiaozhou Liu" <[EMAIL PROTECTED]> wrote:
> The attached patch represents the current status of my work on the new
> NFA based regexp engine, from last summer's GSoC project, mentored by
> Russ Cox. I have been using this new engine myself for quite some time
> now, so I feel it's ready for a wider review audience.
Hi,
The patch does not work with Visual C++ 9.0 2008. The main problem is
this macros
+#define PUSH(s) { \
+ if (stackp >= stack_end)\
+ return NULL; \
+ *stackp++ = s; \
+ }
+
+#define POP() ({ \
+ if (stackp <= stack) \
+ return NULL; \
+ *--stackp; \
+ })
But even though I have changed those macros to
#define PUSH(s) if (stackp >= stack_end) return NULL; *stackp =
s; ++stackp;
#define POP(var) if (stackp <= stack) return NULL; --stackp; var
= *stackp;
the resulting gvim executable seems to be losing its regex capability,
for example typing abc and then searching for a does not work.
Gvim source used : 7.1.291
Features : both with mbyte and without mbyte
---
Charles
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---