This commit is contained in:
John Kerl 2016-11-26 00:03:48 -05:00
parent 8c4f0c64af
commit 60cdafa504

View file

@ -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;