Further objectification of the SCI vocabulary functions. Removed the "kernel_words" console command, as it's exactly the same as "parser_words"
svn-id: r41065
This commit is contained in:
parent
555d4038cc
commit
e317012cce
14 changed files with 607 additions and 581 deletions
|
@ -659,7 +659,7 @@ int c_parse(EngineState *s, const Common::Array<cmd_param_t> &cmdParams) {
|
|||
for (ResultWordList::const_iterator i = words.begin(); i != words.end(); ++i)
|
||||
sciprintf(" Type[%04x] Group[%04x]\n", i->_class, i->_group);
|
||||
|
||||
if (vocab_gnf_parse(s->parser_nodes, words, s->_vocabulary->_parserBranches[0], s->parser_rules, 1))
|
||||
if (s->_vocabulary->parseGNF(s->parser_nodes, words, true))
|
||||
syntax_fail = 1; // Building a tree failed
|
||||
|
||||
if (syntax_fail)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue