2006-11-08 13:40 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

* harbour/source/pp/ppcore.c
    * cleaned two warnings generated by old GCC versions
This commit is contained in:
Przemyslaw Czerpak
2006-11-08 12:39:15 +00:00
parent 437b04a8ea
commit 421371a395
2 changed files with 6 additions and 2 deletions

View File

@@ -8,6 +8,10 @@
2002-12-01 13:30 UTC+0100 Foo Bar <foo.bar@foobar.org>
*/
2006-11-08 17:20 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/vm/classes.c
! fixed type checking for "string" type. It should be translate
to character not symbol item type.
2006-11-08 13:40 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

View File

@@ -1007,7 +1007,7 @@ static void hb_pp_getLine( PHB_PP_STATE pState )
ul = 0;
}
}
while( ( pState->pFile->pLineBuf ? pState->pFile->ulLineBufLen :
while( ( pState->pFile->pLineBuf ? pState->pFile->ulLineBufLen != 0 :
!pState->pFile->fEof ) &&
( pState->fCanNextLine ||
( pState->iStreamDump && pState->iStreamDump != HB_PP_STREAM_CLIPPER ) ) );
@@ -3879,7 +3879,7 @@ static void hb_pp_preprocesToken( PHB_PP_STATE pState )
if( !pState->pFile->pTokenList )
{
while( pState->pFile->pLineBuf ? pState->pFile->ulLineBufLen :
while( pState->pFile->pLineBuf ? pState->pFile->ulLineBufLen != 0 :
!pState->pFile->fEof )
{
hb_pp_getLine( pState );