summaryrefslogtreecommitdiff
path: root/starmath/inc
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2017-03-18 21:33:34 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2017-03-19 06:52:48 +0000
commit70f034497b5ffb61e86d0814de94949e72a1908e (patch)
tree226324cd932cd3fe59f762dccc8af2abcabd6177 /starmath/inc
parentd948d66509022befdb6e2c589859ca7dee9e5347 (diff)
starmath: Make DoTerm() return the top of the stack
without pushing it. Client code do it instead, so no logic changes. Change-Id: I7ea95b4bddc4e1ef7270cfe02d4f8ad3dc1f19d0 Reviewed-on: https://gerrit.libreoffice.org/35400 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
Diffstat (limited to 'starmath/inc')
-rw-r--r--starmath/inc/parse.hxx22
1 files changed, 11 insertions, 11 deletions
diff --git a/starmath/inc/parse.hxx b/starmath/inc/parse.hxx
index 14f0c2e3c27c..b4dc0a133206 100644
--- a/starmath/inc/parse.hxx
+++ b/starmath/inc/parse.hxx
@@ -70,25 +70,25 @@ class SmParser
void DoSubSup(TG nActiveGroup);
void DoOpSubSup();
void DoPower();
- void DoBlank();
- void DoTerm(bool bGroupNumberIdent);
- void DoEscape();
- void DoOperator();
+ SmBlankNode *DoBlank();
+ SmNode *DoTerm(bool bGroupNumberIdent);
+ SmNode *DoEscape();
+ SmOperNode *DoOperator();
void DoOper();
- void DoUnOper();
+ SmStructureNode *DoUnOper();
void DoAlign();
SmStructureNode *DoFontAttribut();
SmAttributNode *DoAttribut();
SmStructureNode *DoFont();
SmStructureNode *DoFontSize();
SmStructureNode *DoColor();
- void DoBrace();
+ SmStructureNode *DoBrace();
SmBracebodyNode *DoBracebody(bool bIsLeftRight);
- void DoFunction();
- void DoBinom();
- void DoStack();
- void DoMatrix();
- void DoSpecial();
+ SmTextNode *DoFunction();
+ SmTableNode *DoBinom();
+ SmStructureNode *DoStack();
+ SmStructureNode *DoMatrix();
+ SmSpecialNode *DoSpecial();
SmGlyphSpecialNode *DoGlyphSpecial();
SmExpressionNode *DoError(SmParseError Error);
// end of grammar