From 1575a8098416dbd3878505cd3eb81c4a3d43ce78 Mon Sep 17 00:00:00 2001 From: Renaud G Date: Sat, 15 Dec 2018 12:04:21 +0100 Subject: Fix several issues. --- diceparser.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'diceparser.h') diff --git a/diceparser.h b/diceparser.h index 6c31880..8d06b44 100644 --- a/diceparser.h +++ b/diceparser.h @@ -219,6 +219,8 @@ public: void setComment(const QString &comment); bool readOptionFromNull(QString &str, ExecutionNode *&node); + bool readOperatorFromNull(QString &str, ExecutionNode *&node); + bool readInstructionList(QString &str); void getDiceResultFromAllInstruction(QList &resultList); QString humanReadableWarning(); @@ -247,7 +249,7 @@ private: * @brief readOperator * @return */ - bool readOperator(QString&, ExecutionNode *&nodeResult); + bool readOperator(QString&, ExecutionNode* previous); /** * @brief DiceParser::readCommand * @param str -- cgit v1.2.3-70-g09d2