2005-01-03 10:30 UTC+0100 Ryszard Glab <rglab@imid.med.pl>
* include/hbcomp.h
* include/hbexprb.c
* include/hbmacro.h
* source/compiler/exproptb.c
* source/compiler/harbour.c
* source/compiler/hbgenerr.c
* source/macro/macrob.c
* source/vm/macro.c
* compiler reports error on the following syntax now (Clipper
compatibility):
{|| ¯ovar <operator> anysymbol}
"codeblock contains both macro and declared symbol reference"
Notice, that Clipper reports error even in this case:
MEMVAR mvar
{|| &mvar,mvar}
* source/vm/memvars.c
* restored initial and expand sizes for memvars table
* source/pp/ppcore.c
* some empty lines added
This commit is contained in:
@@ -1401,10 +1401,12 @@ void hb_compGenPopAliasedVar( char * szVarName,
|
||||
/* generates the pcode to push a nonaliased variable value to the virtual
|
||||
* machine stack
|
||||
*/
|
||||
void hb_compGenPushVar( char * szVarName, HB_MACRO_DECL )
|
||||
void hb_compGenPushVar( char * szVarName, BOOL bMacroVar, HB_MACRO_DECL )
|
||||
{
|
||||
int iVar;
|
||||
|
||||
HB_SYMBOL_UNUSED( bMacroVar );
|
||||
|
||||
iVar = hb_compLocalVarGetPos( szVarName, HB_MACRO_PARAM );
|
||||
if( iVar )
|
||||
{
|
||||
|
||||
@@ -85,8 +85,8 @@ static ULONG s_globalFirstFree = 0;
|
||||
static ULONG s_globalLastFree = 0;
|
||||
static HB_VALUE_PTR s_globalTable = NULL;
|
||||
|
||||
#define TABLE_INITHB_VALUE 1 //00
|
||||
#define TABLE_EXPANDHB_VALUE 2 //50
|
||||
#define TABLE_INITHB_VALUE 100
|
||||
#define TABLE_EXPANDHB_VALUE 50
|
||||
|
||||
struct mv_PUBLIC_var_info
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user