From 962e14e94d081e587c554e762910c0983f6a139b Mon Sep 17 00:00:00 2001 From: Eike Rathke Date: Tue, 3 Mar 2015 14:13:47 +0100 Subject: introduce SC_OPCODE_TABLE_REF / ocTableRef Change-Id: I74cd756fe41b75791f7c2665373e33aec04b1eee --- include/formula/compiler.hrc | 21 +++++++++++---------- include/formula/opcode.hxx | 1 + 2 files changed, 12 insertions(+), 10 deletions(-) (limited to 'include/formula') 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, -- cgit