From e96dee9939f796ae50de6360694b74e96f07d647 Mon Sep 17 00:00:00 2001 From: Master-Bw3 Date: Tue, 25 Jul 2023 11:08:38 -0500 Subject: [PATCH] fix if block no else branch --- src/compiler/if_block.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/if_block.rs b/src/compiler/if_block.rs index 982e61b..310b748 100644 --- a/src/compiler/if_block.rs +++ b/src/compiler/if_block.rs @@ -75,7 +75,7 @@ pub fn compile_if_block( _ => unreachable!(), }, None => { - compile_node(&AstNode::Hex(vec![]), heap, depth, pattern_registry, macros)?; + result.append(&mut compile_node(&AstNode::Hex(vec![]), heap, depth, pattern_registry, macros)?); } } //push augur's to buffer