summaryrefslogtreecommitdiff
path: root/Ivy/IvyBinding.cxx
diff options
context:
space:
mode:
authorfcolin2009-10-15 10:26:27 +0000
committerfcolin2009-10-15 10:26:27 +0000
commit473bf59297a9c8010fb35f505c872024ae3d259d (patch)
treeba296d860b9ecda9101b76f1eea4407daa997a38 /Ivy/IvyBinding.cxx
parent3bd1423d9bd7374c2d39f9817e3a1caa836f86e6 (diff)
downloadivy-cplusplus-473bf59297a9c8010fb35f505c872024ae3d259d.zip
ivy-cplusplus-473bf59297a9c8010fb35f505c872024ae3d259d.tar.gz
ivy-cplusplus-473bf59297a9c8010fb35f505c872024ae3d259d.tar.bz2
ivy-cplusplus-473bf59297a9c8010fb35f505c872024ae3d259d.tar.xz
correction bug threaded IvyApplication
correction checkconnected self
Diffstat (limited to 'Ivy/IvyBinding.cxx')
-rw-r--r--Ivy/IvyBinding.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/Ivy/IvyBinding.cxx b/Ivy/IvyBinding.cxx
index 7501d82..239d56a 100644
--- a/Ivy/IvyBinding.cxx
+++ b/Ivy/IvyBinding.cxx
@@ -59,10 +59,16 @@ IvyBinding::~IvyBinding()
delete regexp;
#endif /* USE_PCRE */
}
+const char* IvyBinding::getExpression()
+{
+ return expression_string.c_str();
+}
+
bool IvyBinding::Compile( const char * expression, int *erroffset, const char **errmessage )
{
int capture_count = 0;
bool compile = false;
+ expression_string = expression;
#ifdef USE_PCRE
regexp = pcre_compile(expression, PCRE_CASELESS, &err_buf, &err_offset, NULL);
if ( regexp != NULL )