From efa5493b2d01efed5c9488b3c324469969812296 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sun, 8 Mar 2009 08:17:43 +0000 Subject: SCI: Changed suffix list to be stored as a Common::List; also fixed spelling: suffices -> suffixes svn-id: r39214 --- engines/sci/engine/scriptdebug.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/sci/engine/scriptdebug.cpp') 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; -- cgit v1.2.3