From e79cb46e41ed31eea4075ffad48862225e615d79 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Wed, 22 Oct 2008 09:15:44 +0000 Subject: Fixes a namespace problem with the new replaceable regex. --- src/Document.cxx | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src') diff --git a/src/Document.cxx b/src/Document.cxx index bded3a32a..a5cdf2fb6 100644 --- a/src/Document.cxx +++ b/src/Document.cxx @@ -1657,8 +1657,16 @@ const char *BuiltinRegex::SubstituteByPosition(Document* doc, const char *text, #ifndef SCI_OWNREGEX +#ifdef SCI_NAMESPACE +namespace Scintilla { +#endif + RegexSearchBase *CreateRegexSearch(CharClassify *charClassTable) { return new BuiltinRegex(charClassTable); } +#ifdef SCI_NAMESPACE +} +#endif + #endif -- cgit v1.2.3