This commit is contained in:
John Kerl 2016-09-11 06:21:53 -07:00
parent a9e9405b19
commit a4dc8fc4c8

View file

@ -23,6 +23,8 @@
rval_evaluator_t* rval_evaluator_alloc_from_ast(mlr_dsl_ast_node_t* pnode, fmgr_t* pfmgr,
int type_inferencing, int context_flags)
{
// xxx split out helper methods for outer if-statement.
// xxx convert innner if-elses to switches.
if (pnode->pchildren == NULL) { // leaf node
if (pnode->type == MD_AST_NODE_TYPE_FIELD_NAME) {
if (context_flags & IN_BEGIN_OR_END) {