aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/parsingtoolbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'parsingtoolbox.cpp')
-rw-r--r--parsingtoolbox.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/parsingtoolbox.cpp b/parsingtoolbox.cpp
index 3d2d2c3..1e8819c 100644
--- a/parsingtoolbox.cpp
+++ b/parsingtoolbox.cpp
@@ -213,6 +213,11 @@ IfNode::ConditionType ParsingToolBox::readConditionType(QString& str)
str=str.remove(0,1);
type = IfNode::AllOfThem;
}
+ else if(str.startsWith(':'))
+ {
+ str=str.remove(0,1);
+ type = IfNode::OnScalar;
+ }
return type;
}