summaryrefslogtreecommitdiff
path: root/sc/inc/compiler.hxx
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2015-03-10 15:46:10 +0100
committerEike Rathke <erack@redhat.com>2015-03-11 14:32:36 +0100
commit519d2f6e5e820229d3548a33313ba15155121537 (patch)
tree68478096f068033a70c96fe9b05d3c72e135f168 /sc/inc/compiler.hxx
parent6242ea42a417cf7791c6c731cb6f1d87d21c0610 (diff)
add TableRef stack
Change-Id: If781e6ab13eb5ad175352e330379776d6ca4fcd8
Diffstat (limited to 'sc/inc/compiler.hxx')
-rw-r--r--sc/inc/compiler.hxx8
1 files changed, 8 insertions, 0 deletions
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<OUString> maTabNames; /// sheet names mangled for the current grammar for output
std::vector<OUString> &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<TableRefEntry> maTableRefs; /// "stack" of currently active ocTableRef tokens
+
bool NextNewToken(bool bInArray = false);
virtual void SetError(sal_uInt16 nError) SAL_OVERRIDE;