diff options
author | fcolin | 2008-12-10 11:57:07 +0000 |
---|---|---|
committer | fcolin | 2008-12-10 11:57:07 +0000 |
commit | bab8b091f69679c373e4f8ccfa794cd52419db8f (patch) | |
tree | a6fc7fc11b58ebd8ca819bbd208aa44c79e9e468 /Ivy/IvyBinding.h | |
parent | cccb229e246f7331ff703d4817b414c66991e55e (diff) | |
download | ivy-cplusplus-bab8b091f69679c373e4f8ccfa794cd52419db8f.zip ivy-cplusplus-bab8b091f69679c373e4f8ccfa794cd52419db8f.tar.gz ivy-cplusplus-bab8b091f69679c373e4f8ccfa794cd52419db8f.tar.bz2 ivy-cplusplus-bab8b091f69679c373e4f8ccfa794cd52419db8f.tar.xz |
mise en conformite avec Regexp.cxx et Regexp.h pour compilation sans USE_PCRE
Diffstat (limited to 'Ivy/IvyBinding.h')
-rw-r--r-- | Ivy/IvyBinding.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/Ivy/IvyBinding.h b/Ivy/IvyBinding.h index 44a87ee..58f6d42 100644 --- a/Ivy/IvyBinding.h +++ b/Ivy/IvyBinding.h @@ -24,7 +24,7 @@ #include <pcre.h>
#else /* we don't USE_PCRE */
#define MAX_MSG_FIELDS 200
-#include "Regex.h"
+#include "Regexp.h"
#endif /* USE_PCRE */
class IvyBinding
@@ -48,11 +48,10 @@ private: #ifdef USE_PCRE
pcre *regexp;
pcre_extra *inspect;
- int nb_match;
int ovector[OVECSIZE];
#else /* we don't USE_PCRE */
- regex_t regexp; /* la regexp sous forme machine */
- regmatch_t match[MAX_MSG_FIELDS+1]; /* resultat du match */
+ Regexp *regexp; /* la regexp sous forme machine */
+ //regmatch_t match[MAX_MSG_FIELDS+1]; /* resultat du match */
#endif /* USE_PCRE */
-
+ int nb_match;
};
\ No newline at end of file |