issue #98 fix compile error

pull/168/head
Dibyendu Majumdar 5 years ago
parent 3a98ffe3c2
commit a92416f864

@ -2341,7 +2341,7 @@ static void typecheck_ast_node(struct ast_node *function, struct ast_node *node)
/* Type checker - WIP */
static void typecheck_ast_list(struct ast_node *function, struct ast_node_list *list) {
struct ast_node *node;
FOR_EACH_PTR(list, node) { typecheck_statement(function, node); }
FOR_EACH_PTR(list, node) { typecheck_ast_node(function, node); }
END_FOR_EACH_PTR(node);
}
@ -2356,7 +2356,6 @@ static void do_typechecks(struct ast_container *container) {
typecheck_function(main_function);
}
/*
** ravi parser context
*/

Loading…
Cancel
Save