summaryrefslogtreecommitdiffstats
path: root/include/formula
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2015-03-03 14:13:47 +0100
committerEike Rathke <erack@redhat.com>2015-03-05 11:44:53 +0100
commit962e14e94d081e587c554e762910c0983f6a139b (patch)
treed0d5f1446ce760e3d3acd9476aeac19073673599 /include/formula
parentremove SC_START_INDEX_DB_COLL binary file format legacy (diff)
downloadcore-962e14e94d081e587c554e762910c0983f6a139b.tar.gz
core-962e14e94d081e587c554e762910c0983f6a139b.zip
introduce SC_OPCODE_TABLE_REF / ocTableRef
Change-Id: I74cd756fe41b75791f7c2665373e33aec04b1eee
Diffstat (limited to 'include/formula')
-rw-r--r--include/formula/compiler.hrc21
-rw-r--r--include/formula/opcode.hxx1
2 files changed, 12 insertions, 10 deletions
diff --git a/include/formula/compiler.hrc b/include/formula/compiler.hrc
index dbbea9043213..2081b09abe8b 100644
--- a/include/formula/compiler.hrc
+++ b/include/formula/compiler.hrc
@@ -42,16 +42,17 @@
#define SC_OPCODE_SPACES 16
#define SC_OPCODE_MAT_REF 17
#define SC_OPCODE_DB_AREA 18 /* additional access operators */
-#define SC_OPCODE_MACRO 19
-#define SC_OPCODE_COL_ROW_NAME 20
-#define SC_OPCODE_COL_ROW_NAME_AUTO 21
-#define SC_OPCODE_PERCENT_SIGN 22 /* operator _follows_ value */
-#define SC_OPCODE_ARRAY_OPEN 23
-#define SC_OPCODE_ARRAY_CLOSE 24
-#define SC_OPCODE_ARRAY_ROW_SEP 25
-#define SC_OPCODE_ARRAY_COL_SEP 26 /* some convs use sep != col_sep */
-#define SC_OPCODE_STOP_DIV 27
-#define SC_OPCODE_SKIP 28 /* used to skip raw tokens during string compilation */
+#define SC_OPCODE_TABLE_REF 19
+#define SC_OPCODE_MACRO 20
+#define SC_OPCODE_COL_ROW_NAME 21
+#define SC_OPCODE_COL_ROW_NAME_AUTO 22
+#define SC_OPCODE_PERCENT_SIGN 23 /* operator _follows_ value */
+#define SC_OPCODE_ARRAY_OPEN 24
+#define SC_OPCODE_ARRAY_CLOSE 25
+#define SC_OPCODE_ARRAY_ROW_SEP 26
+#define SC_OPCODE_ARRAY_COL_SEP 27 /* some convs use sep != col_sep */
+#define SC_OPCODE_STOP_DIV 28
+#define SC_OPCODE_SKIP 29 /* used to skip raw tokens during string compilation */
/*** error constants #... ***/
#define SC_OPCODE_START_ERRORS 30
diff --git a/include/formula/opcode.hxx b/include/formula/opcode.hxx
index 3a2af3a7dc28..8c578c594fa6 100644
--- a/include/formula/opcode.hxx
+++ b/include/formula/opcode.hxx
@@ -54,6 +54,7 @@ enum OpCode : sal_uInt16
ocSkip = SC_OPCODE_SKIP,
// Access commands
ocDBArea = SC_OPCODE_DB_AREA,
+ ocTableRef = SC_OPCODE_TABLE_REF,
ocMacro = SC_OPCODE_MACRO,
ocColRowName = SC_OPCODE_COL_ROW_NAME,
ocColRowNameAuto = SC_OPCODE_COL_ROW_NAME_AUTO,