From f329a8e39beb732b5685eb01476221b461cc50d1 Mon Sep 17 00:00:00 2001 From: Renaud G Date: Sat, 21 Oct 2017 22:57:04 +0200 Subject: -add group into project and use proper variable. --- diceparser.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'diceparser.cpp') diff --git a/diceparser.cpp b/diceparser.cpp index 27f2a2c..42f46ac 100644 --- a/diceparser.cpp +++ b/diceparser.cpp @@ -171,17 +171,17 @@ bool DiceParser::parseLine(QString str) str = convertAlias(str); m_command = str; - bool keepParsing = readExpression(m_command,newNode); + bool keepParsing = readExpression(str,newNode); if(keepParsing) { m_current->setNextNode(newNode); m_current = getLatestNode(m_current); - keepParsing =!m_command.isEmpty(); + keepParsing =!str.isEmpty(); if(keepParsing) { // keepParsing = - readOperator(m_command,m_current); + readOperator(str,m_current); m_current = getLatestNode(m_current); } } -- cgit v1.2.3-70-g09d2