diff options
author | Eike Rathke <erack@redhat.com> | 2013-08-14 22:34:58 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2013-08-14 22:36:14 +0200 |
commit | efdefd379406cd414ef0901d7aeaaa4f032cf52d (patch) | |
tree | 199341893611c2b3f65877f4ae123b836a412cfa /include | |
parent | 318ca03903c9459af18b3b46cdf851254cb74a58 (diff) |
make this less error prone
Change-Id: Ic349d1db5f63b0a2b6ba19eece630d831a912292
Diffstat (limited to 'include')
-rw-r--r-- | include/formula/compiler.hrc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/formula/compiler.hrc b/include/formula/compiler.hrc index 092a093d820c..b53b8259ff73 100644 --- a/include/formula/compiler.hrc +++ b/include/formula/compiler.hrc @@ -409,9 +409,9 @@ #define SC_OPCODE_FILTERXML 411 #define SC_OPCODE_WEBSERVICE 412 -#define SC_OPCODE_LAST_OPCODE_ID 412 /* last OpCode */ #define SC_OPCODE_STOP_2_PAR 413 /* last function with two or more parameters' OpCode + 1 */ -#define SC_OPCODE_STOP_FUNCTION 413 /* last function's OpCode + 1 */ +#define SC_OPCODE_STOP_FUNCTION SC_OPCODE_STOP_2_PAR /* last function's OpCode + 1 */ +#define SC_OPCODE_LAST_OPCODE_ID (SC_OPCODE_STOP_FUNCTION - 1) /* last OpCode */ /*** Internal ***/ #define SC_OPCODE_INTERNAL_BEGIN 9999 |