ChangeLog 20000430-13:50 GMT+1
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
20000430-13:50 GMT+1 Ryszard Glab <rglab@imid.med.pl>
|
||||
|
||||
*source/compiler/harbour.c
|
||||
*fixed possible memory reallocation error in hb_compNOOPadd()
|
||||
|
||||
*source/compiler/hbpcode.c
|
||||
*fixed pVar -> pSym
|
||||
|
||||
20000430 04:10 GMT-3 Luiz Rafael Culik <culik@sl.conex.net>
|
||||
*contrib/libgt/doc/gendoc.bat
|
||||
contrib/libgt/doc/gendoc.cmd
|
||||
|
||||
@@ -1312,7 +1312,7 @@ void hb_compNOOPadd( PFUNCTION pFunc, ULONG ulPos )
|
||||
{
|
||||
pFunc->iNOOPs++;
|
||||
|
||||
if( hb_comp_functions.pLast->pNOOPs )
|
||||
if( pFunc->pNOOPs )
|
||||
{
|
||||
pFunc->pNOOPs = ( ULONG * ) hb_xrealloc( pFunc->pNOOPs, sizeof( ULONG ) * pFunc->iNOOPs );
|
||||
pFunc->pNOOPs[ pFunc->iNOOPs - 1 ] = ulPos;
|
||||
|
||||
@@ -439,7 +439,7 @@ void hb_compStrongType( int iSize )
|
||||
|
||||
pSym = hb_compSymbolGetPos( pFunc->pCode[ ulPos + 1 ] + pFunc->pCode[ ulPos + 2 ] * 256 );
|
||||
|
||||
if ( pVar )
|
||||
if ( pSym )
|
||||
pFunc->pStack[ pFunc->iStackIndex++ ] = pSym->cType;
|
||||
else
|
||||
pFunc->pStack[ pFunc->iStackIndex++ ] = ' ';
|
||||
|
||||
Reference in New Issue
Block a user