ChangeLog 20000430-13:50 GMT+1

This commit is contained in:
Ryszard Glab
2000-04-30 11:44:51 +00:00
parent b17e72c959
commit d7d9f2bee5
3 changed files with 10 additions and 2 deletions

View File

@@ -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

View File

@@ -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;

View File

@@ -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++ ] = ' ';