aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/diceparser.h
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2018-12-15 12:04:21 +0100
committerRenaud G <renaud@rolisteam.org>2018-12-15 12:04:21 +0100
commit1575a8098416dbd3878505cd3eb81c4a3d43ce78 (patch)
tree21333309d7f5f335bb28414b01d907e8077e918b /diceparser.h
parenta0f8bbc597ea0fe0f77979849685705a117faa7f (diff)
downloadOneRoll-1575a8098416dbd3878505cd3eb81c4a3d43ce78.tar.gz
OneRoll-1575a8098416dbd3878505cd3eb81c4a3d43ce78.zip
Fix several issues.
Diffstat (limited to 'diceparser.h')
-rw-r--r--diceparser.h4
1 files changed, 3 insertions, 1 deletions
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<ExportedDiceResult> &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