summaryrefslogtreecommitdiff
path: root/src/core/parser/stack/Stack.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/parser/stack/Stack.cpp')
-rw-r--r--src/core/parser/stack/Stack.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/parser/stack/Stack.cpp b/src/core/parser/stack/Stack.cpp
index 905edb4..b98cddb 100644
--- a/src/core/parser/stack/Stack.cpp
+++ b/src/core/parser/stack/Stack.cpp
@@ -361,9 +361,10 @@ void Stack::command(const Variant &name, const Variant::mapType &args)
info.valid = false;
if (validStack) {
// Canonicalize the arguments (if this has not already been done),
- // allow additional arguments
+ // allow additional arguments and numeric indices
Variant::mapType canonicalArgs = args;
- targetState->arguments.validateMap(canonicalArgs, loggerFork, true);
+ targetState->arguments.validateMap(canonicalArgs, loggerFork, true,
+ true);
handler->setLogger(loggerFork);
try {