summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/parse.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/starmath/source/parse.cxx b/starmath/source/parse.cxx
index 4bb9ff79be08..a2ba86971b11 100644
--- a/starmath/source/parse.cxx
+++ b/starmath/source/parse.cxx
@@ -1548,14 +1548,12 @@ void SmParser::DoEscape()
case TRLINE :
case TLDLINE :
case TRDLINE :
+ m_aNodeStack.push_front(o3tl::make_unique<SmMathSymbolNode>(m_aCurToken));
+ NextToken();
break;
default:
Error(SmParseError::UnexpectedToken);
}
-
- m_aNodeStack.push_front(o3tl::make_unique<SmMathSymbolNode>(m_aCurToken));
-
- NextToken();
}
void SmParser::DoOperator()