diff --git a/harbour/ChangeLog b/harbour/ChangeLog index a04858d07d..35bb6f6b79 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -1,3 +1,7 @@ +2000-08-03 18:50 UTC+0800 Ron Pinkas + * source/compiler/harbour.c + * Added call to hb_pp_init() between multiple prg compilations. + 20000803-13:13 GMT+2 Maurilio Longo * source/macro/macro.slx + added id tag diff --git a/harbour/source/compiler/harbour.c b/harbour/source/compiler/harbour.c index 69a4df2c56..276925eba1 100644 --- a/harbour/source/compiler/harbour.c +++ b/harbour/source/compiler/harbour.c @@ -214,6 +214,9 @@ int main( int argc, char * argv[] ) if( ! bAnyFiles ) bAnyFiles = TRUE; + if( i > 1 ) + hb_pp_Init(); + iStatus = hb_compCompile( argv[ i ], argc, argv ); if( iStatus != EXIT_SUCCESS ) @@ -3538,7 +3541,7 @@ int hb_compCompile( char * szPrg, int argc, char * argv[] ) iStatus = EXIT_FAILURE; } hb_xfree( hb_comp_pFileName ); - + return iStatus; }