From 70cb7757f971c4c16d1b0a5585d95816cd4382e6 Mon Sep 17 00:00:00 2001 From: Eike Rathke Date: Wed, 17 May 2017 15:21:25 +0200 Subject: Resolves: tdf#96426 more whitespace intersection operator in Excel syntax Handle also stacked token arrays resulting from named expressions like =range1 range2 Change-Id: I1838af155f17b5e4f941e46895303caed75b6075 --- include/formula/FormulaCompiler.hxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/formula') diff --git a/include/formula/FormulaCompiler.hxx b/include/formula/FormulaCompiler.hxx index 8e4999ffc999..f6650201bba1 100644 --- a/include/formula/FormulaCompiler.hxx +++ b/include/formula/FormulaCompiler.hxx @@ -59,6 +59,7 @@ struct FormulaArrayStack { FormulaArrayStack* pNext; FormulaTokenArray* pArr; + FormulaTokenRef mpLastToken; bool bTemp; }; @@ -330,6 +331,7 @@ protected: FormulaTokenRef pCurrentFactorToken; // current factor token (of Factor() method) sal_uInt16 nCurrentFactorParam; // current factor token's parameter, 1-based FormulaTokenArray* pArr; + FormulaTokenRef mpLastToken; // last token FormulaToken** pCode; FormulaArrayStack* pStack; -- cgit