summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfcolin2007-02-01 13:01:01 +0000
committerfcolin2007-02-01 13:01:01 +0000
commit41df690026c789839d5e47da6f71d5b56da1b3c3 (patch)
treea86e06f978d88c53e735e21e95e14a50ceac8206
parent09ed84085eb89172d86f41c92b917dd50902fa49 (diff)
downloadivy-cplusplus-41df690026c789839d5e47da6f71d5b56da1b3c3.zip
ivy-cplusplus-41df690026c789839d5e47da6f71d5b56da1b3c3.tar.gz
ivy-cplusplus-41df690026c789839d5e47da6f71d5b56da1b3c3.tar.bz2
ivy-cplusplus-41df690026c789839d5e47da6f71d5b56da1b3c3.tar.xz
Utilisateur : Fcolin Date : 1/06/06 Heure : 15:54 Archivé dans $/Bus/Ivy Commentaire: Separation module de traitement regexp (vss 13)
-rw-r--r--Bus/Ivy/IvyApplication.h16
1 files changed, 2 insertions, 14 deletions
diff --git a/Bus/Ivy/IvyApplication.h b/Bus/Ivy/IvyApplication.h
index ffa6ecb..c32ca5f 100644
--- a/Bus/Ivy/IvyApplication.h
+++ b/Bus/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;