diff --git a/c/mapping/rxval_expr_evaluators.c b/c/mapping/rxval_expr_evaluators.c index f1900cc4f..8f743ded7 100644 --- a/c/mapping/rxval_expr_evaluators.c +++ b/c/mapping/rxval_expr_evaluators.c @@ -22,6 +22,12 @@ rxval_evaluator_t* rxval_evaluator_alloc_from_ast(mlr_dsl_ast_node_t* pnode, fmg { switch(pnode->type) { + case MD_AST_NODE_TYPE_MAP_LITERAL: + return rxval_evaluator_alloc_from_map_literal( + pnode, pfmgr, type_inferencing, context_flags); + return NULL; + break; + case MD_AST_NODE_TYPE_NONINDEXED_LOCAL_VARIABLE: return rxval_evaluator_alloc_from_nonindexed_local_variable( pnode, pfmgr, type_inferencing, context_flags); @@ -57,12 +63,6 @@ rxval_evaluator_t* rxval_evaluator_alloc_from_ast(mlr_dsl_ast_node_t* pnode, fmg return rxval_evaluator_alloc_wrapping_rval(pnode, pfmgr, type_inferencing, context_flags); break; - case MD_AST_NODE_TYPE_MAP_LITERAL: - return rxval_evaluator_alloc_from_map_literal( - pnode, pfmgr, type_inferencing, context_flags); - return NULL; - break; - default: return rxval_evaluator_alloc_wrapping_rval(pnode, pfmgr, type_inferencing, context_flags); return NULL;