[sword-svn] r1951 - trunk/src/modules/filters
scribe at crosswire.org
scribe at crosswire.org
Sun Jul 30 01:58:32 MST 2006
Author: scribe
Date: 2006-07-30 01:58:31 -0700 (Sun, 30 Jul 2006)
New Revision: 1951
Modified:
trunk/src/modules/filters/osisrtf.cpp
Log:
Apparently Borland doesn't like defining anonymous namespace declarations outside the anonymous namespace.
Modified: trunk/src/modules/filters/osisrtf.cpp
===================================================================
--- trunk/src/modules/filters/osisrtf.cpp 2006-07-30 08:14:04 UTC (rev 1950)
+++ trunk/src/modules/filters/osisrtf.cpp 2006-07-30 08:58:31 UTC (rev 1951)
@@ -37,29 +37,29 @@
MyUserData(const SWModule *module, const SWKey *key);
~MyUserData();
};
-};
-MyUserData::MyUserData(const SWModule *module, const SWKey *key) : BasicFilterUserData(module, key) {
- inXRefNote = false;
- BiblicalText = false;
- if (module) {
- version = module->Name();
- BiblicalText = (!strcmp(module->Type(), "Biblical Texts"));
- }
- osisQToTick = ((!module->getConfigEntry("OSISqToTick")) || (strcmp(module->getConfigEntry("OSISqToTick"), "false")));
-}
+ MyUserData::MyUserData(const SWModule *module, const SWKey *key) : BasicFilterUserData(module, key) {
+ inXRefNote = false;
+ BiblicalText = false;
+ if (module) {
+ version = module->Name();
+ BiblicalText = (!strcmp(module->Type(), "Biblical Texts"));
+ }
+ osisQToTick = ((!module->getConfigEntry("OSISqToTick")) || (strcmp(module->getConfigEntry("OSISqToTick"), "false")));
+ }
-MyUserData::~MyUserData() {
- // Just in case the quotes are not well formed
- while (!quoteStack.empty()) {
- const char *tagData = quoteStack.top();
- quoteStack.pop();
- delete tagData;
+ MyUserData::~MyUserData() {
+ // Just in case the quotes are not well formed
+ while (!quoteStack.empty()) {
+ const char *tagData = quoteStack.top();
+ quoteStack.pop();
+ delete tagData;
+ }
}
-}
+};
OSISRTF::OSISRTF() {
setTokenStart("<");
More information about the sword-cvs
mailing list