2001-08-09 17:45 UTC-0800 Ron Pinkas <ron@profit-master.com>
* source/compiler/harbour.c
* Minor correction to handling of HB_FS_FIRST
* source/vm/hvm.c
* Added extern "C" protection to hb_macroAutoSetMacro() declaration.
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
2001-08-09 17:45 UTC-0800 Ron Pinkas <ron@profit-master.com>
|
||||
* source/compiler/harbour.c
|
||||
* Minor correction to handling of HB_FS_FIRST
|
||||
|
||||
* source/vm/hvm.c
|
||||
* Added extern "C" protection to hb_macroAutoSetMacro() declaration.
|
||||
|
||||
2001-08-08 15:30 UTC-0400 David G. Holm <dholm@jsd-llc.com>
|
||||
|
||||
* tests/gtstdtst.prg
|
||||
|
||||
@@ -3756,7 +3756,7 @@ int hb_compCompile( char * szPrg, int argc, char * argv[] )
|
||||
{
|
||||
hb_compOptimizeFrames( pFunc );
|
||||
|
||||
if( szFirstFunction == NULL && pFunc->szName[0] && pFunc->cScope == 0 )
|
||||
if( szFirstFunction == NULL && pFunc->szName[0] && ! ( pFunc->cScope & HB_FS_INIT || pFunc->cScope & HB_FS_EXIT ) )
|
||||
{
|
||||
szFirstFunction = pFunc->szName;
|
||||
}
|
||||
|
||||
@@ -264,7 +264,11 @@ int hb_vm_aiExtraElements[HB_MAX_MACRO_ARGS], hb_vm_iExtraElementsIndex = 0, hb_
|
||||
|
||||
int hb_vm_iExtraIndex;
|
||||
|
||||
extern ULONG hb_macroAutoSetMacro( ULONG ulFlag );
|
||||
#ifdef __cplusplus
|
||||
extern "C" ULONG hb_macroAutoSetMacro( ULONG ulFlag );
|
||||
#else
|
||||
extern ULONG hb_macroAutoSetMacro( ULONG ulFlag );
|
||||
#endif
|
||||
|
||||
/* Request for some action - stop processing of opcodes
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user