diff options
| author | 2018-12-15 12:04:21 +0100 | |
|---|---|---|
| committer | 2018-12-15 12:04:21 +0100 | |
| commit | 1575a8098416dbd3878505cd3eb81c4a3d43ce78 (patch) | |
| tree | 21333309d7f5f335bb28414b01d907e8077e918b /diceparser.h | |
| parent | a0f8bbc597ea0fe0f77979849685705a117faa7f (diff) | |
| download | OneRoll-1575a8098416dbd3878505cd3eb81c4a3d43ce78.tar.gz OneRoll-1575a8098416dbd3878505cd3eb81c4a3d43ce78.zip | |
Fix several issues.
Diffstat (limited to 'diceparser.h')
| -rw-r--r-- | diceparser.h | 4 |
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 |