mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-23 15:50:49 +01:00
Allocation failure fix and test
This commit is contained in:
8
expression_reference.cpp
Normal file
8
expression_reference.cpp
Normal file
@@ -0,0 +1,8 @@
|
||||
#include "expression_reference.h"
|
||||
#include "allocation_failed_expression_node.h"
|
||||
|
||||
template<>
|
||||
TreeNode * ExpressionRef::failedAllocationNode() {
|
||||
static AllocationFailedExpressionRef FailureRef;
|
||||
return FailureRef.node();
|
||||
}
|
||||
Reference in New Issue
Block a user