aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/parser_br.cpp
diff options
context:
space:
mode:
authorNicola Mettifogo2007-10-14 21:32:43 +0000
committerNicola Mettifogo2007-10-14 21:32:43 +0000
commit963e63d985a7ffe9c1ae8907470c764202e947fc (patch)
tree2a0684b6fbe028ce629961975bd4f519e913eb01 /engines/parallaction/parser_br.cpp
parent652069f1a639cac69d5c4fd87149f1f068251c38 (diff)
downloadscummvm-rg350-963e63d985a7ffe9c1ae8907470c764202e947fc.tar.gz
scummvm-rg350-963e63d985a7ffe9c1ae8907470c764202e947fc.tar.bz2
scummvm-rg350-963e63d985a7ffe9c1ae8907470c764202e947fc.zip
Integrated low-level routines into the Script class, turning it into a self-contained parser for location, program and table scripts.
svn-id: r29221
Diffstat (limited to 'engines/parallaction/parser_br.cpp')
-rw-r--r--engines/parallaction/parser_br.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/parallaction/parser_br.cpp b/engines/parallaction/parser_br.cpp
index b92da0478f..d4fcceafd5 100644
--- a/engines/parallaction/parser_br.cpp
+++ b/engines/parallaction/parser_br.cpp
@@ -258,7 +258,7 @@ DECLARE_LOCATION_PARSER(character) {
DECLARE_LOCATION_PARSER(ifchar) {
debugC(7, kDebugParser, "LOCATION_PARSER(ifchar) ");
- skip(_locParseCtxt.script, "ENDIF");
+ _locParseCtxt.script->skip("ENDIF");
}
@@ -313,7 +313,7 @@ DECLARE_COMMAND_PARSER(ifchar) {
debugC(7, kDebugParser, "COMMAND_PARSER(ifchar) ");
if (!scumm_stricmp(_char.getName(), _tokens[1]))
- skip(_locParseCtxt.script, "endif");
+ _locParseCtxt.script->skip("endif");
}