diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2017-03-25 17:52:46 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2017-04-04 01:24:31 +0000 |
commit | 1a1d1a86e9129ec3885610b641179b30f9bf5e79 (patch) | |
tree | 850c593a0777617d4f744c202a3a9a087b82c0fc /starmath/inc | |
parent | 646e52adf4a84ca5beab7bae1e1fae4e793c4896 (diff) |
starmath: Simplify code parsing nospace
This also comes with its unit test.
Change-Id: I1478bf48c5522691978e3534c9c8a9c0ddfc1e59
Reviewed-on: https://gerrit.libreoffice.org/35985
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 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/starmath/inc/parse.hxx b/starmath/inc/parse.hxx index 43b84bab221c..4911e8516a81 100644 --- a/starmath/inc/parse.hxx +++ b/starmath/inc/parse.hxx @@ -63,7 +63,7 @@ class SmParser // grammar SmTableNode *DoTable(); void DoLine(); - SmNode *DoExpression(); + SmNode *DoExpression(bool bUseExtraSpaces = true); SmNode *DoRelation(); SmNode *DoSum(); SmNode *DoProduct(); @@ -76,7 +76,7 @@ class SmParser SmOperNode *DoOperator(); SmNode *DoOper(); SmStructureNode *DoUnOper(); - SmNode *DoAlign(); + SmNode *DoAlign(bool bUseExtraSpaces = true); SmStructureNode *DoFontAttribut(); SmAttributNode *DoAttribut(); SmStructureNode *DoFont(); |