mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
BAGEL: standardize parse code variable name
This commit is contained in:
1 parent
a8f77dd254
commit
80288a0340
16 files changed
+91
-90
No files matched your search
@@ -433,12 +433,12 @@ ParseCodes CBagButtonObject::setInfo(CBagIfstream &istr) {
|
||||
// No match return from function
|
||||
//
|
||||
default: {
|
||||
ParseCodes rc = CBagObject::setInfo(istr);
|
||||
if (rc == PARSING_DONE) {
|
||||
ParseCodes parseCode = CBagObject::setInfo(istr);
|
||||
if (parseCode == PARSING_DONE) {
|
||||
return PARSING_DONE;
|
||||
}
|
||||
|
||||
if (rc == UPDATED_OBJECT) {
|
||||
if (parseCode == UPDATED_OBJECT) {
|
||||
nObjectUpdated = true;
|
||||
} else { // rc==UNKNOWN_TOKEN
|
||||
if (nObjectUpdated)
|
||||
|
||||
@@ -498,12 +498,12 @@ ParseCodes CBagCharacterObject::setInfo(CBagIfstream &istr) {
|
||||
|
||||
// No match return from function
|
||||
default: {
|
||||
ParseCodes rc = CBagObject::setInfo(istr);
|
||||
if (rc == PARSING_DONE) {
|
||||
ParseCodes parseCode = CBagObject::setInfo(istr);
|
||||
if (parseCode == PARSING_DONE) {
|
||||
return PARSING_DONE;
|
||||
}
|
||||
|
||||
if (rc == UPDATED_OBJECT) {
|
||||
if (parseCode == UPDATED_OBJECT) {
|
||||
objectUpdatedFl = true;
|
||||
} else { // rc==UNKNOWN_TOKEN
|
||||
if (objectUpdatedFl)
|
||||
|
||||
@@ -465,12 +465,12 @@ ParseCodes CBagCommandObject::setInfo(CBagIfstream &istr) {
|
||||
// No match return from function
|
||||
//
|
||||
default: {
|
||||
ParseCodes rc = CBagObject::setInfo(istr);
|
||||
if (rc == PARSING_DONE) {
|
||||
ParseCodes parseCode = CBagObject::setInfo(istr);
|
||||
if (parseCode == PARSING_DONE) {
|
||||
return PARSING_DONE;
|
||||
}
|
||||
|
||||
if (rc == UPDATED_OBJECT) {
|
||||
if (parseCode == UPDATED_OBJECT) {
|
||||
objectUpdatedFl = true;
|
||||
} else { // rc==UNKNOWN_TOKEN
|
||||
if (objectUpdatedFl)
|
||||
|
||||
@@ -199,12 +199,12 @@ ParseCodes CBagDossierObject::setInfo(CBagIfstream &istr) {
|
||||
// no match return from function
|
||||
//
|
||||
default:
|
||||
ParseCodes rc = CBagObject::setInfo(istr);
|
||||
if (rc == PARSING_DONE) {
|
||||
ParseCodes parseCode = CBagObject::setInfo(istr);
|
||||
if (parseCode == PARSING_DONE) {
|
||||
return PARSING_DONE;
|
||||
}
|
||||
|
||||
if (rc == UPDATED_OBJECT) {
|
||||
if (parseCode == UPDATED_OBJECT) {
|
||||
objectUpdatedFl = true;
|
||||
} else { // rc==UNKNOWN_TOKEN
|
||||
if (objectUpdatedFl)
|
||||
|
||||
@@ -568,10 +568,10 @@ ParseCodes CBagExpression::setInfo(CBagIfstream &istr) {
|
||||
// CHECKME: Should we put this string in a debugC at the end of the function? (Currently unused)
|
||||
CBofString errStr(errBuffer, 256);
|
||||
|
||||
ParseCodes rc = PARSING_DONE;
|
||||
ParseCodes parseCode = PARSING_DONE;
|
||||
bool doneFl = false;
|
||||
|
||||
while (!doneFl && rc == PARSING_DONE) {
|
||||
while (!doneFl && parseCode == PARSING_DONE) {
|
||||
istr.eatWhite();
|
||||
int ch = istr.peek();
|
||||
switch (ch) {
|
||||
@@ -599,11 +599,11 @@ ParseCodes CBagExpression::setInfo(CBagIfstream &istr) {
|
||||
|
||||
istr.eatWhite();
|
||||
ch = istr.peek();
|
||||
while ((ch != ')') && rc == PARSING_DONE) {
|
||||
while ((ch != ')') && parseCode == PARSING_DONE) {
|
||||
OPERATION curOper;
|
||||
getOperatorFromStream(istr, curOper);
|
||||
if (curOper == OP_NONE) {
|
||||
rc = UNKNOWN_TOKEN;
|
||||
parseCode = UNKNOWN_TOKEN;
|
||||
errStr = "Bad operator:";
|
||||
break;
|
||||
}
|
||||
@@ -649,18 +649,18 @@ ParseCodes CBagExpression::setInfo(CBagIfstream &istr) {
|
||||
// FIXME: Is this intentional?
|
||||
// fallthrough
|
||||
default:
|
||||
rc = UNKNOWN_TOKEN;
|
||||
parseCode = UNKNOWN_TOKEN;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (rc != PARSING_DONE) {
|
||||
if (parseCode != PARSING_DONE) {
|
||||
parseAlertBox(istr, "Error in expression:", __FILE__, __LINE__);
|
||||
}
|
||||
|
||||
istr.eatWhite();
|
||||
|
||||
return rc;
|
||||
return parseCode;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -35,10 +35,9 @@ CBagExpressionObject::CBagExpressionObject() : CBagObject() {
|
||||
}
|
||||
|
||||
CBagExpressionObject::~CBagExpressionObject() {
|
||||
if (_expression != nullptr) {
|
||||
delete _expression;
|
||||
_expression = nullptr;
|
||||
}
|
||||
delete _expression;
|
||||
_expression = nullptr;
|
||||
|
||||
CBagObject::detach();
|
||||
}
|
||||
|
||||
@@ -92,12 +91,12 @@ ParseCodes CBagExpressionObject::setInfo(CBagIfstream &istr) {
|
||||
// No match return from function
|
||||
//
|
||||
default: {
|
||||
ParseCodes rc = CBagObject::setInfo(istr);
|
||||
if (rc == PARSING_DONE) {
|
||||
ParseCodes parseCode = CBagObject::setInfo(istr);
|
||||
if (parseCode == PARSING_DONE) {
|
||||
return PARSING_DONE;
|
||||
}
|
||||
|
||||
if (rc == UPDATED_OBJECT) {
|
||||
if (parseCode == UPDATED_OBJECT) {
|
||||
objectUpdatedFl = true;
|
||||
} else { // rc==UNKNOWN_TOKEN
|
||||
if (objectUpdatedFl)
|
||||
|
||||
@@ -52,7 +52,7 @@ CBofRect CBagLinkObject::getRect() {
|
||||
ParseCodes CBagLinkObject::setInfo(CBagIfstream &istr) {
|
||||
bool objectUpdatedFl = false;
|
||||
|
||||
ParseCodes parsingCode = PARSING_DONE;
|
||||
ParseCodes returnCode = PARSING_DONE;
|
||||
bool doneFl = false;
|
||||
|
||||
while (!doneFl && !istr.eof()) {
|
||||
@@ -134,20 +134,20 @@ ParseCodes CBagLinkObject::setInfo(CBagIfstream &istr) {
|
||||
// No match return from function
|
||||
//
|
||||
default: {
|
||||
ParseCodes rc = CBagObject::setInfo(istr);
|
||||
ParseCodes parseCode = CBagObject::setInfo(istr);
|
||||
|
||||
if (rc == PARSING_DONE) {
|
||||
parsingCode = PARSING_DONE;
|
||||
if (parseCode == PARSING_DONE) {
|
||||
returnCode = PARSING_DONE;
|
||||
doneFl = true;
|
||||
|
||||
} else if (rc == UPDATED_OBJECT) {
|
||||
} else if (parseCode == UPDATED_OBJECT) {
|
||||
objectUpdatedFl = true;
|
||||
|
||||
} else { // rc==UNKNOWN_TOKEN
|
||||
if (objectUpdatedFl)
|
||||
parsingCode = UPDATED_OBJECT;
|
||||
returnCode = UPDATED_OBJECT;
|
||||
else
|
||||
parsingCode = UNKNOWN_TOKEN;
|
||||
returnCode = UNKNOWN_TOKEN;
|
||||
|
||||
doneFl = true;
|
||||
}
|
||||
@@ -156,7 +156,7 @@ ParseCodes CBagLinkObject::setInfo(CBagIfstream &istr) {
|
||||
}
|
||||
}
|
||||
|
||||
return parsingCode;
|
||||
return returnCode;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -486,12 +486,12 @@ ParseCodes CBagLogMsg::setInfo(CBagIfstream &istr) {
|
||||
}
|
||||
|
||||
default: {
|
||||
ParseCodes rc = CBagObject::setInfo(istr);
|
||||
if (rc == PARSING_DONE) {
|
||||
ParseCodes parseCode = CBagObject::setInfo(istr);
|
||||
if (parseCode == PARSING_DONE) {
|
||||
return PARSING_DONE;
|
||||
}
|
||||
|
||||
if (rc == UPDATED_OBJECT) {
|
||||
if (parseCode == UPDATED_OBJECT) {
|
||||
nObjectUpdated = true;
|
||||
} else { // rc==UNKNOWN_TOKEN
|
||||
if (nObjectUpdated)
|
||||
@@ -634,12 +634,12 @@ ParseCodes CBagLogSuspect::setInfo(CBagIfstream &istr) {
|
||||
}
|
||||
|
||||
default: {
|
||||
ParseCodes rc = CBagObject::setInfo(istr);
|
||||
if (rc == PARSING_DONE) {
|
||||
ParseCodes parseCode = CBagObject::setInfo(istr);
|
||||
if (parseCode == PARSING_DONE) {
|
||||
return PARSING_DONE;
|
||||
}
|
||||
|
||||
if (rc == UPDATED_OBJECT) {
|
||||
if (parseCode == UPDATED_OBJECT) {
|
||||
objectUpdatedFl = true;
|
||||
} else { // rc==UNKNOWN_TOKEN
|
||||
if (objectUpdatedFl)
|
||||
@@ -871,12 +871,12 @@ ParseCodes CBagEnergyDetectorObject::setInfo(CBagIfstream &istr) {
|
||||
}
|
||||
|
||||
default: {
|
||||
ParseCodes rc = CBagObject::setInfo(istr);
|
||||
if (rc == PARSING_DONE) {
|
||||
ParseCodes parseCode = CBagObject::setInfo(istr);
|
||||
if (parseCode == PARSING_DONE) {
|
||||
return PARSING_DONE;
|
||||
}
|
||||
|
||||
if (rc == UPDATED_OBJECT) {
|
||||
if (parseCode == UPDATED_OBJECT) {
|
||||
objectUpdatedFl = true;
|
||||
} else { // rc==UNKNOWN_TOKEN
|
||||
if (objectUpdatedFl)
|
||||
@@ -1043,12 +1043,12 @@ ParseCodes CBagLogClue::setInfo(CBagIfstream &istr) {
|
||||
}
|
||||
|
||||
default: {
|
||||
ParseCodes rc = CBagObject::setInfo(istr);
|
||||
if (rc == PARSING_DONE) {
|
||||
ParseCodes parseCode = CBagObject::setInfo(istr);
|
||||
if (parseCode == PARSING_DONE) {
|
||||
return PARSING_DONE;
|
||||
}
|
||||
|
||||
if (rc == UPDATED_OBJECT) {
|
||||
if (parseCode == UPDATED_OBJECT) {
|
||||
nObjectUpdated = true;
|
||||
} else { // rc==UNKNOWN_TOKEN
|
||||
if (nObjectUpdated)
|
||||
|
||||
@@ -493,12 +493,12 @@ ParseCodes CBagMovieObject::setInfo(CBagIfstream &istr) {
|
||||
// No match return from funtion
|
||||
//
|
||||
default: {
|
||||
ParseCodes rc = CBagObject::setInfo(istr);
|
||||
if (rc == PARSING_DONE) {
|
||||
ParseCodes parseCode = CBagObject::setInfo(istr);
|
||||
if (parseCode == PARSING_DONE) {
|
||||
return PARSING_DONE;
|
||||
}
|
||||
|
||||
if (rc == UPDATED_OBJECT) {
|
||||
if (parseCode == UPDATED_OBJECT) {
|
||||
nObjectUpdated = true;
|
||||
} else { // rc==UNKNOWN_TOKEN
|
||||
if (nObjectUpdated)
|
||||
|
||||
@@ -161,7 +161,7 @@ bool CBagObject::runObject() {
|
||||
}
|
||||
|
||||
ParseCodes CBagObject::setInfo(CBagIfstream &istr) {
|
||||
ParseCodes rc = UNKNOWN_TOKEN;
|
||||
ParseCodes parseCode = UNKNOWN_TOKEN;
|
||||
|
||||
while (!istr.eof()) {
|
||||
istr.eatWhite();
|
||||
@@ -171,7 +171,7 @@ ParseCodes CBagObject::setInfo(CBagIfstream &istr) {
|
||||
// =filename.ext
|
||||
//
|
||||
case '=': {
|
||||
rc = UPDATED_OBJECT;
|
||||
parseCode = UPDATED_OBJECT;
|
||||
char szLocalBuff[256];
|
||||
szLocalBuff[0] = 0;
|
||||
CBofString s(szLocalBuff, 256);
|
||||
@@ -184,7 +184,7 @@ ParseCodes CBagObject::setInfo(CBagIfstream &istr) {
|
||||
// { menu objects .... } - Add menu items
|
||||
//
|
||||
case '{': {
|
||||
rc = UPDATED_OBJECT;
|
||||
parseCode = UPDATED_OBJECT;
|
||||
if (!_pMenu) {
|
||||
_pMenu = new CBagMenu;
|
||||
if (_pMenu == nullptr)
|
||||
@@ -209,7 +209,7 @@ ParseCodes CBagObject::setInfo(CBagIfstream &istr) {
|
||||
// ^id; - Set id
|
||||
//
|
||||
case '^': {
|
||||
rc = UPDATED_OBJECT;
|
||||
parseCode = UPDATED_OBJECT;
|
||||
char c = (char)istr.peek();
|
||||
if (Common::isDigit(c)) {
|
||||
int nId;
|
||||
@@ -228,7 +228,7 @@ ParseCodes CBagObject::setInfo(CBagIfstream &istr) {
|
||||
// *state; - Set state
|
||||
//
|
||||
case '*': {
|
||||
rc = UPDATED_OBJECT;
|
||||
parseCode = UPDATED_OBJECT;
|
||||
int nState;
|
||||
getIntFromStream(istr, nState);
|
||||
setState(nState);
|
||||
@@ -238,7 +238,7 @@ ParseCodes CBagObject::setInfo(CBagIfstream &istr) {
|
||||
// %cusror; - Set cursor
|
||||
//
|
||||
case '%': {
|
||||
rc = UPDATED_OBJECT;
|
||||
parseCode = UPDATED_OBJECT;
|
||||
int nCursor;
|
||||
getIntFromStream(istr, nCursor);
|
||||
setOverCursor(nCursor);
|
||||
@@ -248,7 +248,7 @@ ParseCodes CBagObject::setInfo(CBagIfstream &istr) {
|
||||
// [left,top,right,bottom] - Set position
|
||||
//
|
||||
case '[': {
|
||||
rc = UPDATED_OBJECT;
|
||||
parseCode = UPDATED_OBJECT;
|
||||
CBofRect r;
|
||||
istr.putBack();
|
||||
getRectFromStream(istr, r);
|
||||
@@ -263,7 +263,7 @@ ParseCodes CBagObject::setInfo(CBagIfstream &istr) {
|
||||
case 'I': {
|
||||
if (istr.peek() != 'S') {
|
||||
istr.putBack();
|
||||
return rc;
|
||||
return parseCode;
|
||||
break;
|
||||
}
|
||||
char szLocalBuff[256];
|
||||
@@ -314,10 +314,10 @@ ParseCodes CBagObject::setInfo(CBagIfstream &istr) {
|
||||
if (!b)
|
||||
putbackStringOnStream(istr, " NOT ");
|
||||
putbackStringOnStream(istr, "IS ");
|
||||
return rc;
|
||||
return parseCode;
|
||||
break;
|
||||
}
|
||||
rc = UPDATED_OBJECT;
|
||||
parseCode = UPDATED_OBJECT;
|
||||
break;
|
||||
}
|
||||
//
|
||||
@@ -332,11 +332,11 @@ ParseCodes CBagObject::setInfo(CBagIfstream &istr) {
|
||||
//
|
||||
default:
|
||||
istr.putBack();
|
||||
return rc;
|
||||
return parseCode;
|
||||
}
|
||||
}
|
||||
|
||||
return rc;
|
||||
return parseCode;
|
||||
}
|
||||
|
||||
void CBagObject::onLButtonUp(uint32 nFlags, CBofPoint * /*xPoint*/, void *) {
|
||||
|
||||
@@ -359,7 +359,7 @@ ParseCodes CBagRPObject::setInfo(CBagIfstream &istr) {
|
||||
// complain violently.
|
||||
if (_pVarObj == nullptr) {
|
||||
reportError(ERR_UNKNOWN, "Invalid Residue Print Variable=%s",
|
||||
sStr.getBuffer());
|
||||
sStr.getBuffer());
|
||||
return UNKNOWN_TOKEN;
|
||||
}
|
||||
} else {
|
||||
@@ -369,12 +369,12 @@ ParseCodes CBagRPObject::setInfo(CBagIfstream &istr) {
|
||||
break;
|
||||
|
||||
default: {
|
||||
ParseCodes rc;
|
||||
if ((rc = CBagObject::setInfo(istr)) == PARSING_DONE) {
|
||||
ParseCodes parseCode = CBagObject::setInfo(istr);
|
||||
if (parseCode == PARSING_DONE) {
|
||||
return PARSING_DONE;
|
||||
}
|
||||
|
||||
if (rc == UPDATED_OBJECT) {
|
||||
if (parseCode == UPDATED_OBJECT) {
|
||||
nObjectUpdated = true;
|
||||
} else { // rc==UNKNOWN_TOKEN
|
||||
if (nObjectUpdated)
|
||||
|
||||
@@ -282,12 +282,12 @@ ParseCodes CBagSoundObject::setInfo(CBagIfstream &istr) {
|
||||
// No match return from function
|
||||
//
|
||||
default: {
|
||||
ParseCodes rc = CBagObject::setInfo(istr);
|
||||
if (rc == PARSING_DONE) {
|
||||
ParseCodes parseCode = CBagObject::setInfo(istr);
|
||||
if (parseCode == PARSING_DONE) {
|
||||
return PARSING_DONE;
|
||||
}
|
||||
|
||||
if (rc == UPDATED_OBJECT) {
|
||||
if (parseCode == UPDATED_OBJECT) {
|
||||
nObjectUpdated = true;
|
||||
} else { // rc==UNKNOWN_TOKEN
|
||||
if (nObjectUpdated)
|
||||
|
||||
@@ -189,12 +189,12 @@ ParseCodes CBagSpriteObject::setInfo(CBagIfstream &istr) {
|
||||
// no match return from function
|
||||
//
|
||||
default: {
|
||||
ParseCodes rc = CBagObject::setInfo(istr);
|
||||
if (rc == PARSING_DONE) {
|
||||
ParseCodes parseCode = CBagObject::setInfo(istr);
|
||||
if (parseCode == PARSING_DONE) {
|
||||
return PARSING_DONE;
|
||||
}
|
||||
|
||||
if (rc == UPDATED_OBJECT) {
|
||||
if (parseCode == UPDATED_OBJECT) {
|
||||
nObjectUpdated = true;
|
||||
} else { // rc==UNKNOWN_TOKEN
|
||||
if (nObjectUpdated)
|
||||
|
||||
@@ -370,12 +370,12 @@ ParseCodes CBagTextObject::setInfo(CBagIfstream &istr) {
|
||||
// No match return from function
|
||||
//
|
||||
default: {
|
||||
ParseCodes rc;
|
||||
if ((rc = CBagObject::setInfo(istr)) == PARSING_DONE) {
|
||||
ParseCodes parseCode = CBagObject::setInfo(istr);
|
||||
if (parseCode == PARSING_DONE) {
|
||||
return PARSING_DONE;
|
||||
}
|
||||
|
||||
if (rc == UPDATED_OBJECT) {
|
||||
if (parseCode == UPDATED_OBJECT) {
|
||||
nObjectUpdated = true;
|
||||
} else { // rc==UNKNOWN_TOKEN
|
||||
if (nObjectUpdated)
|
||||
|
||||
@@ -208,14 +208,14 @@ ParseCodes CBagTimeObject::setInfo(CBagIfstream &istr) {
|
||||
break;
|
||||
}
|
||||
|
||||
// No match return from funtion
|
||||
// No match return from function
|
||||
default: {
|
||||
ParseCodes rc = CBagObject::setInfo(istr);
|
||||
if (rc == PARSING_DONE) {
|
||||
ParseCodes parseCode = CBagObject::setInfo(istr);
|
||||
if (parseCode == PARSING_DONE) {
|
||||
return PARSING_DONE;
|
||||
}
|
||||
|
||||
if (rc == UPDATED_OBJECT) {
|
||||
if (parseCode == UPDATED_OBJECT) {
|
||||
nObjectUpdated = true;
|
||||
} else {
|
||||
// rc==UNKNOWN_TOKEN
|
||||
|
||||
@@ -62,21 +62,21 @@ CBofRect CBagVariableObject::getRect() {
|
||||
// without the relevant info.
|
||||
ParseCodes CBagVariableObject::setInfo(CBagIfstream &istr) {
|
||||
bool nObjectUpdated = false;
|
||||
char ch;
|
||||
|
||||
while (!istr.eof()) {
|
||||
int nChanged = 0;
|
||||
|
||||
istr.eatWhite();
|
||||
|
||||
switch (ch = (char)istr.peek()) {
|
||||
char ch = (char)istr.peek();
|
||||
switch (ch) {
|
||||
//
|
||||
// SIZE n - n point size of the txt
|
||||
//
|
||||
case 'S': {
|
||||
char szLocalStr[256];
|
||||
szLocalStr[0] = 0;
|
||||
CBofString sStr(szLocalStr, 256); // jwl 08.28.96 performance improvement
|
||||
CBofString sStr(szLocalStr, 256);
|
||||
|
||||
getAlphaNumFromStream(istr, sStr);
|
||||
|
||||
@@ -97,7 +97,7 @@ ParseCodes CBagVariableObject::setInfo(CBagIfstream &istr) {
|
||||
case 'C': {
|
||||
char szLocalStr[256];
|
||||
szLocalStr[0] = 0;
|
||||
CBofString sStr(szLocalStr, 256); // jwl 08.28.96 performance improvement
|
||||
CBofString sStr(szLocalStr, 256);
|
||||
|
||||
getAlphaNumFromStream(istr, sStr);
|
||||
|
||||
@@ -108,12 +108,12 @@ ParseCodes CBagVariableObject::setInfo(CBagIfstream &istr) {
|
||||
switch (nColor) {
|
||||
case 0: _nFGColor = RGB(0, 0, 0); break; // black
|
||||
case 1: _nFGColor = RGB(255, 0, 0); break;
|
||||
case 2: _nFGColor = CTEXT_YELLOW; break; // yellow
|
||||
case 2: _nFGColor = CTEXT_YELLOW; break;
|
||||
case 3: _nFGColor = RGB(0, 255, 0); break;
|
||||
case 4: _nFGColor = RGB(0, 255, 255); break;
|
||||
case 5: _nFGColor = RGB(0, 0, 255); break;
|
||||
case 6: _nFGColor = RGB(255, 0, 255); break;
|
||||
case 7: _nFGColor = CTEXT_WHITE; break; // white
|
||||
case 7: _nFGColor = CTEXT_WHITE; break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
@@ -126,19 +126,21 @@ ParseCodes CBagVariableObject::setInfo(CBagIfstream &istr) {
|
||||
}
|
||||
|
||||
//
|
||||
// No match return from funtion
|
||||
// No match return from function
|
||||
//
|
||||
default:
|
||||
ParseCodes rc;
|
||||
if ((rc = CBagObject::setInfo(istr)) == PARSING_DONE) {
|
||||
ParseCodes parseCode = CBagObject::setInfo(istr);
|
||||
if (parseCode == PARSING_DONE) {
|
||||
return PARSING_DONE;
|
||||
} else if (rc == UPDATED_OBJECT) {
|
||||
}
|
||||
|
||||
if (parseCode == UPDATED_OBJECT) {
|
||||
nObjectUpdated = true;
|
||||
} else if (!nChanged) {
|
||||
if (nObjectUpdated)
|
||||
return UPDATED_OBJECT;
|
||||
else
|
||||
return UNKNOWN_TOKEN;
|
||||
|
||||
return UNKNOWN_TOKEN;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user