From 519d2f6e5e820229d3548a33313ba15155121537 Mon Sep 17 00:00:00 2001 From: Eike Rathke Date: Tue, 10 Mar 2015 15:46:10 +0100 Subject: add TableRef stack Change-Id: If781e6ab13eb5ad175352e330379776d6ca4fcd8 --- sc/inc/compiler.hxx | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'sc/inc/compiler.hxx') diff --git a/sc/inc/compiler.hxx b/sc/inc/compiler.hxx index 298e341f8cd7..ec99d45ce260 100644 --- a/sc/inc/compiler.hxx +++ b/sc/inc/compiler.hxx @@ -313,6 +313,14 @@ private: std::vector maTabNames; /// sheet names mangled for the current grammar for output std::vector &GetSetupTabNames() const; /// get or setup tab names for the current grammar + struct TableRefEntry + { + ScTokenRef mxToken; + sal_uInt16 mnLevel; + TableRefEntry( formula::FormulaToken* p ) : mxToken(p), mnLevel(0) {} + }; + std::vector maTableRefs; /// "stack" of currently active ocTableRef tokens + bool NextNewToken(bool bInArray = false); virtual void SetError(sal_uInt16 nError) SAL_OVERRIDE; -- cgit