aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/diceparser.h
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2017-02-12 11:05:09 +0100
committerRenaud G <renaud@rolisteam.org>2017-02-12 11:05:09 +0100
commit32f164c6e807c4f3d6fab3b147d1cf98e7a949c0 (patch)
tree93b0e528a61e238049568f8095fb57f41f2bceab /diceparser.h
parent7184bf82c420f79ff794e2c6c405d447176482cc (diff)
downloadOneRoll-32f164c6e807c4f3d6fab3b147d1cf98e7a949c0.tar.gz
OneRoll-32f164c6e807c4f3d6fab3b147d1cf98e7a949c0.zip
-add comment support
-fix error on range.
Diffstat (limited to 'diceparser.h')
-rw-r--r--diceparser.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/diceparser.h b/diceparser.h
index 0bc32e8..a1e58e1 100644
--- a/diceparser.h
+++ b/diceparser.h
@@ -225,6 +225,9 @@ public:
* @param variables
*/
void setVariableDictionary(QHash<QString,QString>* variables);
+ QString getComment() const;
+ void setComment(const QString &comment);
+
private:
/**
@@ -333,6 +336,7 @@ private:
QString m_helpPath;
bool m_currentTreeHasSeparator;
bool readBlocInstruction(QString &str, ExecutionNode *&resultnode);
+ QString m_comment;
};
#endif // DICEPARSER_H