diff options
Diffstat (limited to 'typesystem.cpp')
-rw-r--r-- | typesystem.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/typesystem.cpp b/typesystem.cpp index b4bdc3ff7..2e1fe0e52 100644 --- a/typesystem.cpp +++ b/typesystem.cpp @@ -1053,7 +1053,8 @@ bool Handler::startElement(const QString &, const QString &n, break; case StackElement::ModifyArgument: { - if (topElement.type != StackElement::ModifyFunction) { + if (topElement.type != StackElement::ModifyFunction + && topElement.type != StackElement::AddFunction) { m_error = QString::fromLatin1("argument modification requires function" " modification as parent, was %1") .arg(topElement.type, 0, 16); |