diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2017-03-07 19:19:31 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2017-03-08 03:20:30 +0000 |
commit | c8df7f052450a7f6d87dae8dbdbd686bdb091939 (patch) | |
tree | f472d43369e3e2f2b2d4848901581497b4961f85 /starmath/inc | |
parent | ca0d1f127d2f03661955fa2e55f507e6afdb6e13 (diff) |
starmath: Return the expression node from DoExpression()
instead of pushing it to the stack. This saves extra pops.
Change-Id: I2fcf9b86eab9ade45db4351b34bafbcbc42ef056
Reviewed-on: https://gerrit.libreoffice.org/34944
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
Diffstat (limited to 'starmath/inc')
-rw-r--r-- | starmath/inc/parse.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/inc/parse.hxx b/starmath/inc/parse.hxx index 76d602f1a3ed..6804b1a9ec02 100644 --- a/starmath/inc/parse.hxx +++ b/starmath/inc/parse.hxx @@ -63,7 +63,7 @@ class SmParser // grammar SmTableNode *DoTable(); void DoLine(); - void DoExpression(); + SmNode *DoExpression(); void DoRelation(); void DoSum(); void DoProduct(); |