STOPDUMP renamed as ENDDUMP

This commit is contained in:
Antonio Linares
2001-12-21 11:46:52 +00:00
parent 7b2442f92e
commit 60dcc0ef41
3 changed files with 7 additions and 8 deletions

View File

@@ -595,7 +595,7 @@ static HB_FUNC( NEXTIDENTIFIER )
}
}
#pragma STOPDUMP
#pragma ENDDUMP
//----------------------------------------------------------------------------//
#ifdef WIN
@@ -609,7 +609,7 @@ static HB_FUNC( NEXTIDENTIFIER )
hb_retni( MessageBox( ( HWND ) hb_parnl( 1 ), hb_parc( 2 ), hb_parc( 3 ), hb_parni( 4 ) ) );
}
#pragma STOPDUMP
#pragma ENDDUMP
#endif
@@ -1527,4 +1527,4 @@ STATIC FUNCTION InitFWResults()
RETURN .T.
//--------------------------------------------------------------//
//--------------------------------------------------------------//

View File

@@ -239,8 +239,8 @@ void hb_pp_ParsePragma( char * szLine )
{
pBuffer++;
}
hb_strupr( strncpy( sDirective, pBuffer, 8 ) );
if( memcmp( sDirective, "STOPDUMP", 8 ) == 0 )
hb_strupr( strncpy( sDirective, pBuffer, 7 ) );
if( memcmp( sDirective, "ENDDUMP", 7 ) == 0 )
{
hb_pp_bInline = FALSE;
return;
@@ -389,4 +389,3 @@ static void DebugPragma( char * pszStr, int iValue, BOOL bValue )
printf( "#pragma set to %s \'%s\'\n", bValue ? "ON" : "OFF", pszStr );
}
}

View File

@@ -85,7 +85,7 @@ HB_FUNC( C_FUNC )
{
hb_retc( "returned from C_FUN\n" );
}
#pragma STOPDUMP
#pragma ENDDUMP
Function PostDumpTest()
RETURN "Post Dump Test"
RETURN "Post Dump Test"