Skip to content

Commit

Permalink
fix(userspace/engine): solve description of macro-only rules
Browse files Browse the repository at this point in the history
Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com>
  • Loading branch information
jasondellaluce authored and poiana committed Nov 2, 2023
1 parent 214e41d commit 2e7cacb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions userspace/engine/filter_details_resolver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 2e7cacb

Please sign in to comment.