aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/expression.cpp
diff options
context:
space:
mode:
authorSven Hesse2009-06-22 16:30:51 +0000
committerSven Hesse2009-06-22 16:30:51 +0000
commitfae143f72dab91171655b3a055c469dc6df8c14f (patch)
tree83dac11f49d2bc56711a51fa0680973bcc199816 /engines/gob/expression.cpp
parentc3aafec1fb516d76fa03c0ffaf2248b90dada7b4 (diff)
downloadscummvm-rg350-fae143f72dab91171655b3a055c469dc6df8c14f.tar.gz
scummvm-rg350-fae143f72dab91171655b3a055c469dc6df8c14f.tar.bz2
scummvm-rg350-fae143f72dab91171655b3a055c469dc6df8c14f.zip
Renaming kDebugParser to kDebugExpression
svn-id: r41774
Diffstat (limited to 'engines/gob/expression.cpp')
-rw-r--r--engines/gob/expression.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/gob/expression.cpp b/engines/gob/expression.cpp
index eb465534c7..61833a8ed6 100644
--- a/engines/gob/expression.cpp
+++ b/engines/gob/expression.cpp
@@ -524,7 +524,7 @@ bool Expression::getVarBase(uint32 &varBase, bool mindStop,
_vm->_game->_script->skip(2);
- debugC(2, kDebugParser, "varBase: %d, by %d", varBase, operation);
+ debugC(2, kDebugExpression, "varBase: %d, by %d", varBase, operation);
if (_vm->_game->_script->peekByte() != 97) {
if (mindStop)
@@ -558,7 +558,7 @@ bool Expression::getVarBase(uint32 &varBase, bool mindStop,
varBase += offset2 * offset1 * 4;
- debugC(2, kDebugParser, "varBase: %d, by %d", varBase, operation);
+ debugC(2, kDebugExpression, "varBase: %d, by %d", varBase, operation);
if (_vm->_game->_script->peekByte() != 97) {
if (mindStop)
@@ -594,7 +594,7 @@ int16 Expression::parseVarIndex(uint16 *size, uint16 *type) {
if (type)
*type = operation;
- debugC(5, kDebugParser, "var parse = %d", operation);
+ debugC(5, kDebugExpression, "var parse = %d", operation);
switch (operation) {
case OP_ARRAY_INT8:
case OP_ARRAY_INT32:
@@ -633,12 +633,12 @@ int16 Expression::parseVarIndex(uint16 *size, uint16 *type) {
case OP_LOAD_VAR_INT32_AS_INT16:
case OP_LOAD_VAR_STR:
temp = _vm->_game->_script->readInt16() * 4;
- debugC(5, kDebugParser, "oper = %d", _vm->_game->_script->peekInt16());
+ debugC(5, kDebugExpression, "oper = %d", _vm->_game->_script->peekInt16());
if ((operation == OP_LOAD_VAR_STR) && (_vm->_game->_script->peekByte() == 13)) {
_vm->_game->_script->skip(1);
val = parseValExpr(OP_END_MARKER);
temp += val;
- debugC(5, kDebugParser, "parse subscript = %d", val);
+ debugC(5, kDebugExpression, "parse subscript = %d", val);
}
return varBase + temp;