[Libreoffice-commits] .: basic/source

David Tardon dtardon at kemper.freedesktop.org
Mon May 16 08:52:55 PDT 2011


 basic/source/inc/opcodes.hxx |   11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

New commits:
commit fd0486d9f4f962da10f872cc465f086c8577c781
Author: David Tardon <dtardon at redhat.com>
Date:   Sat May 14 11:36:54 2011 +0200

    end of group mark should be alias to the last item

diff --git a/basic/source/inc/opcodes.hxx b/basic/source/inc/opcodes.hxx
index 30157a7..1c38a59 100644
--- a/basic/source/inc/opcodes.hxx
+++ b/basic/source/inc/opcodes.hxx
@@ -91,7 +91,8 @@ enum SbiOpcode {
     _ERASE_CLEAR,       // Erase array and clear variable
     _ARRAYACCESS,       // Assign parameters to TOS and get value, used for array of arrays
     _BYVAL,             // byref -> byval for lvalue parameter passed in call
-    SbOP0_END,
+
+    SbOP0_END = _BYVAL,
 
     // Alle Opcodes mit einem Operanden
 
@@ -125,7 +126,8 @@ enum SbiOpcode {
     // Typanpassung im Argv
     _ARGTYP,          	// Letzten Parameter in Argv konvertieren (+Typ)
     _VBASETCLASS,       // VBA-like Set
-    SbOP1_END,
+
+    SbOP1_END = _VBASETCLASS,
 
     // Alle Opcodes mit zwei Operanden
 
@@ -160,12 +162,9 @@ enum SbiOpcode {
     _PUBLIC_P, 			//  Module global Variable (persisted between calls)(+StringID+Typ)
     _FIND_STATIC,        	//  local static var lookup (+StringID+Typ) 
 
-    SbOP2_END
-
+    SbOP2_END = _FIND_STATIC
 };
 
-
-
 #endif
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */


More information about the Libreoffice-commits mailing list