aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/diceparser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'diceparser.cpp')
-rw-r--r--diceparser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/diceparser.cpp b/diceparser.cpp
index c65ef74..7210d8c 100644
--- a/diceparser.cpp
+++ b/diceparser.cpp
@@ -889,7 +889,7 @@ bool DiceParser::readInstructionList(QString& str)
{
latest = ParsingToolBox::getLatestNode(latest);
}
- keepParsing = (!str.isEmpty() & (before!=str));
+ keepParsing = (!str.isEmpty() && (before!=str));
}
}
if( !str.isEmpty() && readInstructionOperator(str[0]))