aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/diceparser.cpp
diff options
context:
space:
mode:
authorRenaud Guezennec <renaud@rolisteam.org>2016-04-13 16:23:48 +0200
committerRenaud Guezennec <renaud@rolisteam.org>2016-04-13 16:23:48 +0200
commit9311cabe959739e74b62e46563bace3ebc63e15d (patch)
treebb11fdec7c5d55d69ff84a445eb65eb671e94131 /diceparser.cpp
parent7d9f1e52c18b8f63e7b511bcd28e4fd4e9f0c5a7 (diff)
downloadOneRoll-9311cabe959739e74b62e46563bace3ebc63e15d.tar.gz
OneRoll-9311cabe959739e74b62e46563bace3ebc63e15d.zip
Add management for variable in DiceParser.
Diffstat (limited to 'diceparser.cpp')
-rw-r--r--diceparser.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/diceparser.cpp b/diceparser.cpp
index 90d52e3..af87199 100644
--- a/diceparser.cpp
+++ b/diceparser.cpp
@@ -1086,3 +1086,7 @@ void DiceParser::setPathToHelp(QString l)
{
m_helpPath = l;
}
+void DiceParser::setVariableDictionary(QHash<QString,QString>* variables)
+{
+ ParsingToolBox::setVariableHash(variables);
+}