From e6b4263eef5f9294997e79221c7fe4b5730d240c Mon Sep 17 00:00:00 2001 From: Antonio Linares Date: Mon, 5 Feb 2001 09:22:02 +0000 Subject: [PATCH] HB_P_STATICNAME opcode added --- harbour/include/hbpcode.h | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/harbour/include/hbpcode.h b/harbour/include/hbpcode.h index 9dca93243f..a930350b8f 100644 --- a/harbour/include/hbpcode.h +++ b/harbour/include/hbpcode.h @@ -93,20 +93,20 @@ typedef enum HB_P_MODULUS, /* calculates the modulus of the two values on the stack, removing them and leaving there the result */ HB_P_MODULENAME, /* sets the name of debugged module */ /* start: pcodes generated by the macro compiler - the symbol address is used */ - HB_P_MMESSAGE, - HB_P_MPOPALIASEDFIELD, - HB_P_MPOPALIASEDVAR, - HB_P_MPOPFIELD, - HB_P_MPOPMEMVAR, - HB_P_MPUSHALIASEDFIELD, - HB_P_MPUSHALIASEDVAR, - HB_P_MPUSHBLOCK, - HB_P_MPUSHFIELD, - HB_P_MPUSHMEMVAR, - HB_P_MPUSHMEMVARREF, - HB_P_MPUSHSYM, - HB_P_MPUSHVARIABLE, -/* end: */ + HB_P_MMESSAGE, + HB_P_MPOPALIASEDFIELD, + HB_P_MPOPALIASEDVAR, + HB_P_MPOPFIELD, + HB_P_MPOPMEMVAR, + HB_P_MPUSHALIASEDFIELD, + HB_P_MPUSHALIASEDVAR, + HB_P_MPUSHBLOCK, + HB_P_MPUSHFIELD, + HB_P_MPUSHMEMVAR, + HB_P_MPUSHMEMVARREF, + HB_P_MPUSHSYM, + HB_P_MPUSHVARIABLE, +/* end: */ HB_P_MULT, /* multiplies the latest two values on the stack, removing them and leaving there the result */ HB_P_NEGATE, /* numerically negates the latest value on the stack */ HB_P_NOOP, /* no operation */ @@ -160,6 +160,7 @@ typedef enum HB_P_SEQRECOVER, /* RECOVER statement */ HB_P_SFRAME, /* sets the statics frame for a function */ HB_P_STATICS, /* defines the number of statics variables for a PRG */ + HB_P_STATICNAME, /* sets the name of static variable */ HB_P_SWAPALIAS, /* restores the current workarea number from the eval stack */ HB_P_TRUE, /* pushes true on the virtual machine stack */ HB_P_ZERO, /* places a ZERO on the virtual machine stack */ @@ -168,4 +169,4 @@ typedef enum HB_P_LAST_PCODE /* this defines the number of defined pcodes */ } HB_PCODE; -#endif /* HB_PCODE_H_ */ +#endif /* HB_PCODE_H_ */ \ No newline at end of file