aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/diceparser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'diceparser.cpp')
-rw-r--r--diceparser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/diceparser.cpp b/diceparser.cpp
index 5108a10..1046ade 100644
--- a/diceparser.cpp
+++ b/diceparser.cpp
@@ -151,12 +151,12 @@ bool DiceParser::parseLine(QString str)
delete m_start;
m_start = NULL;
}
- m_command = str;
m_start = new StartingNode();
ExecutionNode* newNode = NULL;
m_current = m_start;
str = convertAlias(str);
+ m_command = str;
bool keepParsing = readExpression(str,newNode);
if(keepParsing)