fix(userspace/engine): avoid macro/list used checks if we encounter an error

Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com>
This commit is contained in:
Jason Dellaluce
2022-10-12 09:54:04 +00:00
committed by poiana
parent 7da30ca661
commit 9ee0298c4d

View File

@@ -516,6 +516,7 @@ void rule_loader::compiler::compile(
catch(rule_load_exception &e)
{
cfg.res->add_error(e.ec, e.msg, e.ctx);
return;
}
// print info on any dangling lists or macros that were not used anywhere