diff options
Diffstat (limited to 'Ivy')
-rw-r--r-- | Ivy/IvyApplication.h | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/Ivy/IvyApplication.h b/Ivy/IvyApplication.h index ffa6ecb..c32ca5f 100644 --- a/Ivy/IvyApplication.h +++ b/Ivy/IvyApplication.h @@ -5,14 +5,7 @@ //
#include "BufferedSocket.h"
#include "Ivy.h"
-
-#define USE_PCRE
-
-#ifdef USE_PCRE
-#include "pcre.h"
-#else
-#include "Regexp.h"
-#endif
+#include "IvyBinding.h"
/////////////////////////////////////////////////////////////////////////////
// IvyApplication command target
@@ -67,12 +60,7 @@ protected: /* en clair */
ivy::vector<ivy::string> regexp_str_in;
/* compile */
-#ifdef USE_PCRE
- static const int max_subexp = 200;
- typedef ivy::vector<pcre *> RegexpVector;
-#else
- typedef ivy::vector<Regexp *> RegexpVector;
-#endif
+ typedef ivy::vector<IvyBinding *> RegexpVector;
RegexpVector regexp_in;
friend class Ivy;
|