diff options
| author | 2015-10-11 15:49:38 +0200 | |
|---|---|---|
| committer | 2015-10-11 15:49:38 +0200 | |
| commit | 84691771b54365160f5b1d54033e00187dbbf043 (patch) | |
| tree | dd17a1436659c48993bfdb846864dded708c411e /parsingtoolbox.cpp | |
| parent | a220f89b6f30716883223292b0986c0dc9d941bc (diff) | |
| parent | 114cd6a7990c44f0610dbf2080f101d0edbbaa57 (diff) | |
| download | OneRoll-84691771b54365160f5b1d54033e00187dbbf043.tar.gz OneRoll-84691771b54365160f5b1d54033e00187dbbf043.zip | |
Merge branch 'master' of github.com:Rolisteam/DiceParser
Diffstat (limited to 'parsingtoolbox.cpp')
| -rw-r--r-- | parsingtoolbox.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/parsingtoolbox.cpp b/parsingtoolbox.cpp index f6b1f12..2d26d79 100644 --- a/parsingtoolbox.cpp +++ b/parsingtoolbox.cpp @@ -75,7 +75,6 @@ Validator* ParsingToolBox::readValidator(QString& str) { Validator* returnVal=NULL; bool expectSquareBrasket=false; - bool isOk = true; if((str.startsWith("["))) { str=str.remove(0,1); @@ -83,11 +82,13 @@ Validator* ParsingToolBox::readValidator(QString& str) } BooleanCondition::LogicOperator myLogicOp = BooleanCondition::Equal; - bool hasReadLogicOperator = readLogicOperator(str,myLogicOp); + //bool hasReadLogicOperator = + readLogicOperator(str,myLogicOp); int value=0; if(readNumber(str,value)) { + bool isOk = true; if(str.startsWith("-")) { str=str.remove(0,1); |