Add the call node as one of the nodes that contains a vector.
This commit is contained in:
parent
88108bb3c0
commit
c18a5e49de
|
@ -4,7 +4,7 @@
|
||||||
int libab_tree_has_vector(libab_tree_variant variant) {
|
int libab_tree_has_vector(libab_tree_variant variant) {
|
||||||
return variant == BASE || variant == OP ||
|
return variant == BASE || variant == OP ||
|
||||||
variant == UNARY_OP || variant == BLOCK ||
|
variant == UNARY_OP || variant == BLOCK ||
|
||||||
variant == IF;
|
variant == IF || variant == CALL;
|
||||||
}
|
}
|
||||||
|
|
||||||
int libab_tree_has_string(libab_tree_variant variant) {
|
int libab_tree_has_string(libab_tree_variant variant) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user