diff options
Diffstat (limited to 'bindings/gsoap/gsoapsword.cpp')
-rw-r--r-- | bindings/gsoap/gsoapsword.cpp | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/bindings/gsoap/gsoapsword.cpp b/bindings/gsoap/gsoapsword.cpp index e4ad51a..4fe933d 100644 --- a/bindings/gsoap/gsoapsword.cpp +++ b/bindings/gsoap/gsoapsword.cpp @@ -1,5 +1,10 @@ -/* - * Copyright 2009 CrossWire Bible Society (http://www.crosswire.org) +/****************************************************************************** + * + * gsoapsword.cpp - + * + * $Id: gsoapsword.cpp 2833 2013-06-29 06:40:28Z chrislit $ + * + * Copyright 2002-2013 CrossWire Bible Society (http://www.crosswire.org) * CrossWire Bible Society * P. O. Box 2528 * Tempe, AZ 85280-2528 @@ -108,17 +113,17 @@ int sword__Quick_getJScriptAttribArray(xsd__string modName, xsd__string modKey, static string retVal = ""; retVal = "var entryAttribs = new Array();\n"; string l1keys = "entryAttribs[0] = new Array("; - for (l1=0,i1 = target->getEntryAttributes().begin(); i1 != target->getEntryAttributes().end(); i1++,l1++) { + for (l1=0,i1 = target->getEntryAttributes().begin(); i1 != target->getEntryAttributes().end(); ++i1,++l1) { sprintf(lbuf1, "%d", l1+1); retVal += "entryAttribs["+lbuf1+"] = new Array();\n"; string l2keys = "entryAttribs["+lbuf1+"][0] = new Array("; cout << "[ " << i1->first << " ]\n"; - for (l2=0,i2 = i1->second.begin(); i2 != i1->second.end(); i2++,l2++) { + for (l2=0,i2 = i1->second.begin(); i2 != i1->second.end(); ++i2,++l2) { sprintf(lbuf2, "%d", l2+1); retVal += "entryAttribs["+lbuf1+"]["+lbuf2+"][0] = new Array();\n"; string l3keys = "entryAttribs["+lbuf1+"]["+lbuf2+"][0] = new Array("; cout << "\t[ " << i2->first << " ]\n"; - for (l3=0,i3 = i2->second.begin(); i3 != i2->second.end(); i3++,l3++) { + for (l3=0,i3 = i2->second.begin(); i3 != i2->second.end(); ++i3,++l3) { cout << "\t\t" << i3->first << " = " << i3->second << "\n"; } } |