summaryrefslogtreecommitdiffstats
path: root/include/formula
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2013-08-14 22:34:58 +0200
committerEike Rathke <erack@redhat.com>2013-08-14 22:36:14 +0200
commitefdefd379406cd414ef0901d7aeaaa4f032cf52d (patch)
tree199341893611c2b3f65877f4ae123b836a412cfa /include/formula
parentHelp button added to the aboutconfigvalue dialog (diff)
downloadcore-efdefd379406cd414ef0901d7aeaaa4f032cf52d.tar.gz
core-efdefd379406cd414ef0901d7aeaaa4f032cf52d.zip
make this less error prone
Change-Id: Ic349d1db5f63b0a2b6ba19eece630d831a912292
Diffstat (limited to 'include/formula')
-rw-r--r--include/formula/compiler.hrc4
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