aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--diceparser.cpp2
-rw-r--r--diceparser.h4
2 files changed, 4 insertions, 2 deletions
diff --git a/diceparser.cpp b/diceparser.cpp
index 1d980a6..5ddf172 100644
--- a/diceparser.cpp
+++ b/diceparser.cpp
@@ -494,7 +494,7 @@ bool DiceParser::readOption(QString& str,ExecutionNode* previous, bool hasDice)
return isFine;
}
-bool DiceParser::readOperand(QString&,ExecutionNode* & node)
+bool DiceParser::readOperand(QString& str,ExecutionNode* & node)
{
int myNumber=1;
if(m_parsingToolbox->readNumber(str,myNumber))
diff --git a/diceparser.h b/diceparser.h
index 6e99bcd..bcc4d81 100644
--- a/diceparser.h
+++ b/diceparser.h
@@ -79,7 +79,7 @@ private:
* @param str
* @return
*/
- bool readDice(QString& str,Dice&);
+ bool readDice(QString& str,ExecutionNode* & node);
/**
* @brief readDiceOperator
* @return
@@ -109,6 +109,8 @@ private:
DiceRollerNode* addRollDiceNode(qint64 faces,ExecutionNode*);
+ bool readOperand(QString&,ExecutionNode* & node);
+
private:
QMap<QString,DiceOperator>* m_mapDiceOp;
QMap<QString,OptionOperator>* m_OptionOp;