aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/scriptdebug.cpp
diff options
context:
space:
mode:
authorMax Horn2009-03-08 08:17:43 +0000
committerMax Horn2009-03-08 08:17:43 +0000
commitefa5493b2d01efed5c9488b3c324469969812296 (patch)
treec363123d9895706e92e9b1e85d41eb8e2c9893e3 /engines/sci/engine/scriptdebug.cpp
parent7cf72e8a177b0cbc1c7f9c9e838cf8596ab9e849 (diff)
downloadscummvm-rg350-efa5493b2d01efed5c9488b3c324469969812296.tar.gz
scummvm-rg350-efa5493b2d01efed5c9488b3c324469969812296.tar.bz2
scummvm-rg350-efa5493b2d01efed5c9488b3c324469969812296.zip
SCI: Changed suffix list to be stored as a Common::List; also fixed spelling: suffices -> suffixes
svn-id: r39214
Diffstat (limited to 'engines/sci/engine/scriptdebug.cpp')
-rw-r--r--engines/sci/engine/scriptdebug.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/engine/scriptdebug.cpp b/engines/sci/engine/scriptdebug.cpp
index 62967c9df6..7a579179c8 100644
--- a/engines/sci/engine/scriptdebug.cpp
+++ b/engines/sci/engine/scriptdebug.cpp
@@ -791,7 +791,7 @@ int c_sim_parse(EngineState *s) {
if (openb)
*openb = 0; // remove them and the rest
- result = vocab_lookup_word(token, strlen(token), s->parser_words, s->parser_words_nr, s->parser_suffices, s->parser_suffices_nr);
+ result = vocab_lookup_word(token, strlen(token), s->parser_words, s->parser_words_nr, s->_parserSuffixes);
if (result) {
s->parser_nodes[i].type = 0;
@@ -1026,7 +1026,7 @@ int c_parse(EngineState *s) {
string = cmd_params[0].str;
sciprintf("Parsing '%s'\n", string);
words = vocab_tokenize_string(string, &words_nr, s->parser_words, s->parser_words_nr,
- s->parser_suffices, s->parser_suffices_nr, &error);
+ s->_parserSuffixes, &error);
if (words) {
int i, syntax_fail = 0;