2001-07-16 03:40 UTC-0800 Ron Pinkas <ron@profit-master.com>

* source/vm/hvm.c
   * source/vm/macro.c
     + Added missing #include "hbpp.h" to resolve strict compiler warnings.
This commit is contained in:
Ron Pinkas
2001-07-16 10:40:24 +00:00
parent 4454fbac5e
commit d8977933fa
3 changed files with 8 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
2001-07-16 03:40 UTC-0800 Ron Pinkas <ron@profit-master.com>
* source/vm/hvm.c
* source/vm/macro.c
+ Added missing #include "hbpp.h" to resolve strict compiler warnings.
2001-07-16 03:00 UTC-0800 Ron Pinkas <ron@profit-master.com>
* source/vm/hvm.c
+ Added call to hb_pp_Free() in hb_vmQuit() to release pp tables if loaded by macro evaluation.

View File

@@ -87,6 +87,7 @@
#include "hbvm.h"
#include "hbpcode.h"
#include "hbset.h"
#include "hbpp.h"
typedef struct _SYMBOLS
{

View File

@@ -58,6 +58,7 @@
#include "hbcomp.h"
#include "hbstack.h"
#include "hbmemvar.ch" /* for values returned by hb_memvarScope() */
#include "hbpp.h"
/* TODO:
* include this variable in SET subsystem ?
@@ -444,7 +445,7 @@ void hb_macroGetValue( HB_ITEM_PTR pItem )
struMacro.status = HB_MACRO_CONT;
struMacro.iListElements = 0;
slen = HB_MIN( szString, HB_PP_STR_SIZE - 1 );
slen = HB_MIN( strlen( szString ), HB_PP_STR_SIZE - 1 );
memcpy( pText, szString, slen );
pText[ slen ] = 0;
memset( pOut, 0, HB_PP_STR_SIZE );