2000-11-08 24:10 UTC+0800 Ron Pinkas <ron@profit-master.com>
* source/compiler/cmdcheck.c
* utils/hbpp/hbpp.c
+ Added missing type case for C++ compilers.
* source/compiler/simplex.c
* Added 1 missing var reset.
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
2000-11-08 24:10 UTC+0800 Ron Pinkas <ron@profit-master.com>
|
||||
* source/compiler/cmdcheck.c
|
||||
* utils/hbpp/hbpp.c
|
||||
+ Added missing type case for C++ compilers.
|
||||
|
||||
* source/compiler/simplex.c
|
||||
* Added 1 missing var reset.
|
||||
|
||||
2000-11-08 11:28 UTC+0800 Brian Hays <bhays@abacuslaw.com>
|
||||
* source\vm\arrays.c
|
||||
* added Victor's fix for passing the second parameter to ascan's codeblock.
|
||||
|
||||
@@ -788,7 +788,7 @@ static void hb_compChkDefineSwitch( char * pszSwitch )
|
||||
szDefText[ pAssign - szDefText ] = '\0';
|
||||
|
||||
//hb_pp_AddDefine( szDefText, pAssign + 1 );
|
||||
sDefLine = hb_xgrab( strlen( szDefText ) + 1 + strlen( pAssign + 1 ) + 1 );
|
||||
sDefLine = (char*) hb_xgrab( strlen( szDefText ) + 1 + strlen( pAssign + 1 ) + 1 );
|
||||
sprintf( sDefLine, "%s %s", szDefText, pAssign + 1 );
|
||||
hb_pp_ParseDefine( sDefLine );
|
||||
hb_xfree( sDefLine );
|
||||
|
||||
@@ -1347,7 +1347,7 @@ void SimpLex_CheckWords( void )
|
||||
|
||||
if( s_szBuffer != szBaseBuffer )
|
||||
{
|
||||
s_szBuffer = szBaseBuffer; iSize = iBaseSize; iHold = 0; iReturn = 0;
|
||||
s_szBuffer = szBaseBuffer; iSize = iBaseSize; iHold = 0; iReturn = 0; iPairToken = 0;
|
||||
DEBUG_INFO( printf( "Partial Match - Restored position: %i at: [%s]\n", iSize, s_szBuffer ) );
|
||||
}
|
||||
|
||||
|
||||
@@ -129,7 +129,7 @@ int main( int argc, char * argv[] )
|
||||
szDefText[ pAssign - szDefText ] = '\0';
|
||||
|
||||
//hb_pp_AddDefine( szDefText, pAssign + 1 );
|
||||
sDefLine = hb_xgrab( strlen( szDefText ) + 1 + strlen( pAssign + 1 ) + 1 );
|
||||
sDefLine = (char*) hb_xgrab( strlen( szDefText ) + 1 + strlen( pAssign + 1 ) + 1 );
|
||||
sprintf( sDefLine, "%s %s", szDefText, pAssign + 1 );
|
||||
hb_pp_ParseDefine( sDefLine );
|
||||
hb_xfree( sDefLine );
|
||||
|
||||
Reference in New Issue
Block a user