From 8cfc95c341017754266dd85b4f27936483a76e59 Mon Sep 17 00:00:00 2001 From: Clement Viken Zrounba <clement.zrounba@cern.ch> Date: Wed, 11 Dec 2024 17:54:46 +0100 Subject: [PATCH] gen-consts: unroll submaps based on `include` attribute --- proto/cheby/print_consts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proto/cheby/print_consts.py b/proto/cheby/print_consts.py index 216892f..3613fd5 100644 --- a/proto/cheby/print_consts.py +++ b/proto/cheby/print_consts.py @@ -364,7 +364,7 @@ def pconsts_submap(pr, n): pr.pr_address_mask(n) pr.pr_size(n, n.c_size) # Recurse ? - if False and (n.filename is not None): + if n.include and (n.filename is not None): pconsts_composite_children(pr, n.c_submap) -- GitLab