aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMartin Kiewitz2016-09-21 21:45:31 +0200
committerMartin Kiewitz2016-09-21 21:46:15 +0200
commit97d444a569ac13023acebffa62f2d87e8b1e0eab (patch)
tree2a2c0d6a45cf64cb61b7ba84cf5a04f729103818 /engines
parentd373ddfd3fbc9342361bc1ace76e2dcd1fa3fc98 (diff)
downloadscummvm-rg350-97d444a569ac13023acebffa62f2d87e8b1e0eab.tar.gz
scummvm-rg350-97d444a569ac13023acebffa62f2d87e8b1e0eab.tar.bz2
scummvm-rg350-97d444a569ac13023acebffa62f2d87e8b1e0eab.zip
SCI: Fix kernel signature comment
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/engine/kernel.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/engines/sci/engine/kernel.cpp b/engines/sci/engine/kernel.cpp
index d764a88a0a..c03504d277 100644
--- a/engines/sci/engine/kernel.cpp
+++ b/engines/sci/engine/kernel.cpp
@@ -171,8 +171,11 @@ void Kernel::loadSelectorNames() {
// (io) -> optionally integer AND an object
// (i) -> optional integer
// . -> any type
-// i* -> optional multiple integers
-// .* -> any parameters afterwards (or none)
+// i* -> at least one integer, more integers may follow after that
+// (i*) -> optional multiple integers
+// .* -> at least one parameter of any type and more parameters of any type may follow
+// (.*) -> any parameters afterwards (or none)
+// * -> means "more of the last parameter may follow (or none at all)", must be at the end of a signature. Is not valid anywhere else.
static uint16 *parseKernelSignature(const char *kernelName, const char *writtenSig) {
const char *curPos;
char curChar;