Add the call node as one of the nodes that contains a vector.

This commit is contained in:
Danila Fedorin 2018-02-25 23:09:13 -08:00
parent 88108bb3c0
commit c18a5e49de

View File

@ -4,7 +4,7 @@
int libab_tree_has_vector(libab_tree_variant variant) {
return variant == BASE || variant == OP ||
variant == UNARY_OP || variant == BLOCK ||
variant == IF;
variant == IF || variant == CALL;
}
int libab_tree_has_string(libab_tree_variant variant) {