SCI: Store parse_tree_branch_t in a Common::Arraay

svn-id: r40100
This commit is contained in:
Max Horn 2009-04-24 10:42:53 +00:00
parent 7b11ef429e
commit 486f10edaf
9 changed files with 57 additions and 78 deletions

View file

@ -271,7 +271,7 @@ reg_t kParse(EngineState *s, int funct_nr, int argc, reg_t *argv) {
SCIkdebug(SCIkPARSER, " Type[%04x] Group[%04x]\n", i->_class, i->_group);
}
if (vocab_build_parse_tree(&(s->parser_nodes[0]), words, s->parser_branches,
if (vocab_build_parse_tree(s->parser_nodes, words, s->_parserBranches[0],
s->parser_rules))
syntax_fail = 1; /* Building a tree failed */