aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/parser
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2011-03-08 22:50:10 +0100
committerWillem Jan Palenstijn2011-03-08 22:50:32 +0100
commiteece58df7f20b6411f5e534cbdf7b80c19fdee2a (patch)
treeefe8781780ab55b2e80711d740b21982ebf3288f /engines/sci/parser
parentb0cd614fd5a9b89765c7c3890a830abddc6d14f2 (diff)
downloadscummvm-rg350-eece58df7f20b6411f5e534cbdf7b80c19fdee2a.tar.gz
scummvm-rg350-eece58df7f20b6411f5e534cbdf7b80c19fdee2a.tar.bz2
scummvm-rg350-eece58df7f20b6411f5e534cbdf7b80c19fdee2a.zip
SCI: Remove unused argument to said
Diffstat (limited to 'engines/sci/parser')
-rw-r--r--engines/sci/parser/said.cpp2
-rw-r--r--engines/sci/parser/vocabulary.h3
2 files changed, 2 insertions, 3 deletions
diff --git a/engines/sci/parser/said.cpp b/engines/sci/parser/said.cpp
index e9c6d9847f..666a235cf9 100644
--- a/engines/sci/parser/said.cpp
+++ b/engines/sci/parser/said.cpp
@@ -1020,7 +1020,7 @@ static int augment_parse_nodes(ParseTreeNode *parseT, ParseTreeNode *saidT) {
/**** Main code ****/
/*******************/
-int said(EngineState *s, const byte *spec, bool verbose) {
+int said(const byte *spec, bool verbose) {
int retval;
Vocabulary *voc = g_sci->getVocabulary();
diff --git a/engines/sci/parser/vocabulary.h b/engines/sci/parser/vocabulary.h
index 3d644d88f7..6d3e0b301e 100644
--- a/engines/sci/parser/vocabulary.h
+++ b/engines/sci/parser/vocabulary.h
@@ -383,12 +383,11 @@ void vocab_dump_parse_tree(const char *tree_name, ParseTreeNode *nodes);
/**
* Builds a parse tree from a spec and compares it to a parse tree.
- * @param s The affected state
* @param spec Pointer to the spec to build
* @param verbose Whether to display the parse tree after building it
* @return 1 on a match, 0 otherwise
*/
-int said(EngineState *s, const byte *spec, bool verbose);
+int said(const byte *spec, bool verbose);
} // End of namespace Sci