summaryrefslogtreecommitdiff
path: root/Ivy
diff options
context:
space:
mode:
authorfcolin2007-02-01 13:01:01 +0000
committerfcolin2007-02-01 13:01:01 +0000
commit224519ededa0125951cf0ca7e13a2b25952321e6 (patch)
tree6f5698c824a6aac0becf1e94aef89e33e9488db9 /Ivy
parentf9406cab857e7eb87627c014a880ed859df3bf22 (diff)
downloadivy-cplusplus-224519ededa0125951cf0ca7e13a2b25952321e6.zip
ivy-cplusplus-224519ededa0125951cf0ca7e13a2b25952321e6.tar.gz
ivy-cplusplus-224519ededa0125951cf0ca7e13a2b25952321e6.tar.bz2
ivy-cplusplus-224519ededa0125951cf0ca7e13a2b25952321e6.tar.xz
Utilisateur : Fcolin Date : 1/06/06 Heure : 15:54 Archivé dans $/Bus/Ivy Commentaire: Separation module de traitement regexp (vss 13)
Diffstat (limited to 'Ivy')
-rw-r--r--Ivy/IvyApplication.h16
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;