2005-01-03 14:15 UTC+0100 Ryszard Glab <rglab@imid.med.pl>

* include/hbexprb.c
   * source/compiler/exproptb.c
   * source/macro/macrob.c
      * fixed to compile with SIMPLEX defined
      Notice: Simplex version is not updated for a long time and
      it doesn't support all fixes from FLEX version
This commit is contained in:
Ryszard Glab
2005-01-03 13:09:47 +00:00
parent 181e59a3a6
commit 0dd2bc56b7
4 changed files with 16 additions and 3 deletions

View File

@@ -8,6 +8,15 @@
2002-12-01 23:12 UTC+0100 Foo Bar <foo.bar@foobar.org>
*/
2005-01-03 14:15 UTC+0100 Ryszard Glab <rglab@imid.med.pl>
* include/hbexprb.c
* source/compiler/exproptb.c
* source/macro/macrob.c
* fixed to compile with SIMPLEX defined
Notice: Simplex version is not updated for a long time and
it doesn't support all fixes from FLEX version
2005-01-03 10:30 UTC+0100 Ryszard Glab <rglab@imid.med.pl>
* include/hbcomp.h
* include/hbexprb.c

View File

@@ -419,9 +419,12 @@ static HB_EXPR_FUNC( hb_compExprUseCodeblock )
break;
case HB_EA_PUSH_PCODE:
{
#if defined(SIMPLEX) || defined(HB_MACRO_SUPPORT)
#if defined(HB_MACRO_SUPPORT)
HB_EXPR_PCODE1( hb_compExprCodeblockPush, pSelf );
#else
# if defined(SIMPLEX)
HB_EXPR_PCODE2( hb_compExprCodeblockPush, pSelf, TRUE );
# else
if( !pSelf->value.asCodeblock.isMacro || pSelf->value.asCodeblock.lateEval )
hb_compExprCodeblockPush( pSelf, TRUE );
else
@@ -429,6 +432,7 @@ static HB_EXPR_FUNC( hb_compExprUseCodeblock )
/* early evaluation of a macro */
hb_compExprCodeblockEarly( pSelf );
}
# endif
#endif
}
break;

View File

@@ -5,6 +5,6 @@
/* hbexprb.c is also included from ../macro/macro.c
* However it produces a slighty different code if used in
* macro compiler (there is an additional parameter passed to some functions)
* 1.12 - ignore this magic number - this is used to force compilation
* 1.13 - ignore this magic number - this is used to force compilation
*/
#include "hbexprb.c"

View File

@@ -5,7 +5,7 @@
/* hbexprb.c is also included from ../compiler/exproptb.c
* However it produces a slighty different code if used in
* macro compiler (there is an additional parameter passed to some functions)
* 1.11 - ignore this magic number - this is used to force compilation
* 1.12 - ignore this magic number - this is used to force compilation
*/
#define HB_MACRO_SUPPORT