Replace nodes with AllocationFailures inside the tree when needed

This commit is contained in:
Léa Saviot
2018-06-29 14:21:10 +02:00
parent cb77fbe2ff
commit 2684b2f09f
15 changed files with 139 additions and 83 deletions

View File

@@ -1,8 +1,7 @@
#include "expression_node.h"
#include "allocation_failed_expression_node.h"
#include "expression_reference.h"
TreeNode * ExpressionNode::failedAllocationNode() {
return ExpressionRef::failedAllocationNode();
TreeNode * ExpressionNode::staticFailedAllocationStaticNode() {
return ExpressionRef::staticFailedAllocationStaticNode();
}