mapvar-ref iterate

This commit is contained in:
John Kerl 2016-11-19 20:16:43 -05:00
parent 9f1995a56c
commit 8d220a91c9
2 changed files with 3 additions and 3 deletions

View file

@ -78,12 +78,12 @@ typedef struct _rval_evaluator_t {
// This is for map-valued contexts: LHS/RHS of assignments,
// UDF/subroutine arguments, and UDF return values.
// The is_ephemeral flag is TRUE for map-literals, function return values, and
// The map_is_ephemeral flag is TRUE for map-literals, function return values, and
// data copied out of srecs. It is FALSE when the pointer is into an existing
// data structure's memory (e.g. oosvars or locals).
typedef struct _boxed_xval_t {
mlhmmv_value_t xval;
int is_ephemeral;
int map_is_ephemeral;
} boxed_xval_t;
struct _rxval_evaluator_xxx_deprecated_t; // forward reference for method declarations

View file

@ -456,7 +456,7 @@ static boxed_xval_t rxval_evaluator_wrapping_rval_func(void* pvstate, variables_
mv_t val = prval_evaluator->pprocess_func(prval_evaluator->pvstate, pvars);
return (boxed_xval_t) {
.xval = mlhmmv_value_transfer_terminal(val),
.is_ephemeral = TRUE,
.map_is_ephemeral = TRUE,
};
}