fix(userspace/engine): solve description of macro-only rules

Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com>
This commit is contained in:
Jason Dellaluce 2023-11-02 10:07:53 +00:00 committed by poiana
parent 214e41d093
commit 2e7cacb4e0

View File

@ -41,6 +41,8 @@ void filter_details::reset()
void filter_details_resolver::run(ast::expr* filter, filter_details& details)
{
visitor v(details);
// note: we may have ASTs composed on only one macro ref
v.m_expect_macro = true;
filter->accept(&v);
}