ChangeLog: 19990730-06:40 GMT+2

This commit is contained in:
Ryszard Glab
1999-07-31 04:53:34 +00:00
parent 65d2bd3277
commit 1b81b29746
2 changed files with 7 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
19990731-06:40 GMT+2 Ryszard Glaaab <rglab@imid.med.pl>
*source/compiler/harbour.y
* PUBLIC and PRIVATE variables referenced inside a codeblock
can be used to initiialize a staatic variables
19990731-06:00 CET Victor Szel <info@szelvesz.hu>
+ include/achoice.ch
include/common.ch

View File

@@ -3658,7 +3658,7 @@ void PushId( char * szVarName ) /* generates the pcode to push a variable value
{
int iVar;
if( iVarScope == VS_STATIC )
if( iVarScope == VS_STATIC && functions.pLast->szName )
{
/* Reffering to any variable is not allowed during initialization
* of static variable
@@ -3700,7 +3700,7 @@ void PushIdByRef( char * szVarName ) /* generates the pcode to push a variable b
{
WORD iVar;
if( iVarScope == VS_STATIC )
if( iVarScope == VS_STATIC && functions.pLast->szName )
{
/* Reffering to any variable is not allowed during initialization
* of static variable