From 32f164c6e807c4f3d6fab3b147d1cf98e7a949c0 Mon Sep 17 00:00:00 2001 From: Renaud G Date: Sun, 12 Feb 2017 11:05:09 +0100 Subject: -add comment support -fix error on range. --- diceparser.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'diceparser.h') 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* 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 -- cgit v1.2.3-70-g09d2