2008-06-05 12:53 UTC+0100 Viktor Szakats (harbour.01 syenar hu)

* source/pp/hbppgen.c
   * contrib/examples/pp/hbpp.c
     * Headers cleaned.
This commit is contained in:
Viktor Szakats
2008-06-05 10:55:15 +00:00
parent 830a722777
commit 31ff7b0367
3 changed files with 12 additions and 2 deletions

View File

@@ -8,6 +8,11 @@
2008-12-31 13:59 UTC+0100 Foo Bar <foo.bar@foobar.org>
*/
2008-06-05 12:53 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/pp/hbppgen.c
* contrib/examples/pp/hbpp.c
* Headers cleaned.
2008-06-05 12:42 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* make_b32.mak
* make_gcc.mak

View File

@@ -114,7 +114,7 @@ int main( int argc, char * argv[] )
HB_TRACE(HB_TR_DEBUG, ("main(%d, %p)", argc, argv));
printf( "Harbour Preprocessor %d.%d.%d\n",
printf( "Harbour Preprocessor (old revision) %d.%d.%d\n",
HB_VER_MAJOR, HB_VER_MINOR, HB_VER_REVISION );
printf( "Copyright 1999-2008, http://www.harbour-project.org\n" );

View File

@@ -496,7 +496,8 @@ static int hb_pp_parseChangelog( PHB_PP_STATE pState, const char * pszFileName,
*/
static void hb_pp_usage( char * szName )
{
printf( "Syntax: %s <file>[.prg] [options]\n\n", szName );
printf( "\n" );
printf( "Syntax: %s <file[.prg]> [options]\n\n", szName );
printf( "Options: -i<path> \tadd #include file search path\n"
" -c[<file>]\tlook for ChangeLog file\n"
" -o<file> \tcreates .c file with PP rules\n"
@@ -514,6 +515,10 @@ int main( int argc, char * argv[] )
int iSVNID = 0, iResult = 0, i;
PHB_PP_STATE pState;
printf( "Harbour Preprocessor %d.%d.%d\n",
HB_VER_MAJOR, HB_VER_MINOR, HB_VER_REVISION );
printf( "Copyright 1999-2008, http://www.harbour-project.org\n" );
pState = hb_pp_new();
if( argc >= 2 )