From 2c987fcc9512c46525533db1564358fede6c9e5c Mon Sep 17 00:00:00 2001 From: Patrick Mast Date: Tue, 8 Jan 2002 08:59:52 +0000 Subject: [PATCH] 2002-01-08 09:52 UTC+0100 Patrick Mast * source/compiler/genc.c * source/compiler/genjava.c * source/compiler/genobj32.c * source/compiler/hbusage.c * source/common/hbver.c * changed decimal build nr in "Alpha build .." --- harbour/ChangeLog | 9 +++++++++ harbour/source/common/hbver.c | 7 +++---- harbour/source/compiler/genc.c | 8 ++++---- harbour/source/compiler/genjava.c | 5 ++--- harbour/source/compiler/genobj32.c | 4 ++-- harbour/source/compiler/hbusage.c | 7 +++---- 6 files changed, 23 insertions(+), 17 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index a941bd6c1a..b87efccbdc 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -7,6 +7,15 @@ For example: 2002-12-01 23:12 UTC+0100 Foo Bar */ + * source/pp/pptable.c + + SET OPTIMIZE ON/OFF/expression command added + +2002-01-09 11:00 UTC+0100 Ignacio Ortiz + * source/rtl/tget.prg + * Picture "@Z" fixed + +2002-01-09 17:30 UTC-0500 David G. Holm + * include/hbsetup.h * source/rtl/console.c + Added HB_EOL_CRLF to allow the EOL string to be forced to CRLF. Defaults to commented out, so that the EOL string that is used diff --git a/harbour/source/common/hbver.c b/harbour/source/common/hbver.c index d63f56f322..5c31a8a3d0 100644 --- a/harbour/source/common/hbver.c +++ b/harbour/source/common/hbver.c @@ -430,8 +430,8 @@ char * hb_verHarbour( void ) pszVersion = ( char * ) hb_xgrab( 80 ); - sprintf( pszVersion, "Harbour %d.%d.%d Intl. (%s)", - HB_VER_MAJOR, HB_VER_MINOR, HB_VER_REVISION, HB_VER_LEX ); + sprintf( pszVersion, "Harbour Alpha build %d.%d Intl. (%s)", + HB_VER_MINOR, HB_VER_REVISION, HB_VER_LEX ); return pszVersion; } @@ -496,7 +496,7 @@ void hb_verBuildInfo( void ) hb_conOutErr( HB_VER_L_USR, 0 ); hb_conOutErr( hb_conNewLine(), 0 ); } - + if( strlen( HB_VER_PRG_USR ) ) { hb_conOutErr( "Linker switches: ", 0 ); @@ -628,4 +628,3 @@ void hb_verBuildInfo( void ) hb_conOutErr( "---------------------------", 0 ); hb_conOutErr( hb_conNewLine(), 0 ); } - diff --git a/harbour/source/compiler/genc.c b/harbour/source/compiler/genc.c index 6e1b3a5a94..f391a66bd0 100644 --- a/harbour/source/compiler/genc.c +++ b/harbour/source/compiler/genc.c @@ -77,8 +77,8 @@ void hb_compGenCCode( PHB_FNAME pFileName ) /* generates the C language ou fflush( stdout ); } - fprintf( yyc, "/*\n * Harbour Compiler, %d.%d.%d (%s)\n", - HB_VER_MAJOR, HB_VER_MINOR, HB_VER_REVISION, HB_VER_LEX ); + fprintf( yyc, "/*\n * Harbour Compiler, Apha build %d.%d (%s)\n", + HB_VER_MINOR, HB_VER_REVISION, HB_VER_LEX ); fprintf( yyc, " * Generated C source code\n */\n\n" ); if( hb_comp_iFunctionCnt ) @@ -130,7 +130,7 @@ void hb_compGenCCode( PHB_FNAME pFileName ) /* generates the C language ou pFunc = hb_comp_funcalls.pFirst; while( pFunc ) { - if( hb_compFunctionFind( pFunc->szName ) == NULL && + if( hb_compFunctionFind( pFunc->szName ) == NULL && hb_compInlineFind( pFunc->szName ) == NULL ) fprintf( yyc, "extern HB_FUNC( %s );\n", pFunc->szName ); @@ -1987,4 +1987,4 @@ static void hb_compGenCCompact( PFUNCTION pFunc, FILE * yyc ) if( nChar != 0) fprintf( yyc, "\n" ); -} +} \ No newline at end of file diff --git a/harbour/source/compiler/genjava.c b/harbour/source/compiler/genjava.c index e3d37ba564..d442bc3dad 100644 --- a/harbour/source/compiler/genjava.c +++ b/harbour/source/compiler/genjava.c @@ -67,8 +67,8 @@ void hb_compGenJava( PHB_FNAME pFileName ) s_nChar = 0; - fprintf( s_yyc, "/*\n * Harbour Compiler, %d.%d.%d (%s)\n", - HB_VER_MAJOR, HB_VER_MINOR, HB_VER_REVISION, HB_VER_LEX ); + fprintf( s_yyc, "/*\n * Harbour Compiler, Alpha build %d.%d (%s)\n", + HB_VER_MINOR, HB_VER_REVISION, HB_VER_LEX ); fprintf( s_yyc, " * Generated JAVA source code\n */\n\n" ); fprintf( s_yyc, "public class %s\n", pFileName->szName ); @@ -186,4 +186,3 @@ static void hb_fputs( char * szName ) while( nPos < strlen( szName ) ) hb_fputc( szName[ nPos++ ] ); } - diff --git a/harbour/source/compiler/genobj32.c b/harbour/source/compiler/genobj32.c index 91a44f376a..1b8da1d976 100644 --- a/harbour/source/compiler/genobj32.c +++ b/harbour/source/compiler/genobj32.c @@ -84,8 +84,8 @@ void hb_compGenObj32( PHB_FNAME pFileName ) fflush( stdout ); } - sprintf( compiler, "Harbour Compiler %d.%d.%d (%s)", - HB_VER_MAJOR, HB_VER_MINOR, HB_VER_REVISION, HB_VER_LEX ); + sprintf( compiler, "Harbour Compiler Alpha build %d.%d (%s)", + HB_VER_MINOR, HB_VER_REVISION, HB_VER_LEX ); CompiledFileName( hObjFile, szFileName ); CompilerVersion( hObjFile, compiler ); diff --git a/harbour/source/compiler/hbusage.c b/harbour/source/compiler/hbusage.c index 0b34acbfd3..ba13bd097a 100644 --- a/harbour/source/compiler/hbusage.c +++ b/harbour/source/compiler/hbusage.c @@ -108,7 +108,7 @@ void hb_compPrintUsage( char * szSelf ) } /* - * List of compatibility/features modes + * List of compatibility/features modes */ void hb_compPrintModes( void ) { @@ -180,8 +180,7 @@ void hb_compPrintCredits( void ) */ void hb_compPrintLogo( void ) { - printf( "Harbour Compiler %d.%d.%d (%s)\n", - HB_VER_MAJOR, HB_VER_MINOR, HB_VER_REVISION, HB_VER_LEX ); + printf( "Harbour Compiler Alpha build %d.%d (%s)\n", + HB_VER_MINOR, HB_VER_REVISION, HB_VER_LEX ); printf( "Copyright 1999-2002, http://www.harbour-project.org/\n" ); } -