2015-12-04 23:05 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)

* include/hbexpra.c
    ! accept strings passed in 2-nd parameter of _GET_() function
      with the highest priority for macro and macroalias expressions
    ! fixed late evaluation of macroalias expressions in GET variables.
      Thanks to Volodimyr for information about the problem and self
      contain code example.

  * include/hbexprb.c
    ! fixed typo in SetGet expression LValue validation
This commit is contained in:
Przemysław Czerpak
2015-12-04 23:05:18 +01:00
parent d087133e36
commit ef0912cb9e
3 changed files with 98 additions and 52 deletions

View File

@@ -2603,7 +2603,7 @@ static HB_EXPR_FUNC( hb_compExprUseSetGet )
if( ! HB_SUPPORT_HARBOUR )
pSelf->value.asSetGet.pVar = hb_compExprListStrip( pSelf->value.asSetGet.pVar, HB_COMP_PARAM );
#endif
HB_EXPR_USE( pSelf->value.asSetGet.pVar, HB_EA_LVALUE );
HB_EXPR_USE( pSelf->value.asSetGet.pExpr, HB_EA_LVALUE );
break;
case HB_EA_ARRAY_AT:
case HB_EA_ARRAY_INDEX: