From ea2066063ae08f5f1dbf844a3ee6762c431fa32c Mon Sep 17 00:00:00 2001 From: Ryan Fleury Date: Wed, 17 Jan 2024 16:34:02 -0800 Subject: [PATCH] do the same for omit/only --- src/df/core/df_core.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/df/core/df_core.c b/src/df/core/df_core.c index e34a87c7..af0e8fc3 100644 --- a/src/df/core/df_core.c +++ b/src/df/core/df_core.c @@ -5064,10 +5064,13 @@ df_append_viz_blocks_for_parent__rec(Arena *arena, DBGI_Scope *scope, DF_EvalVie for(DF_CfgVal *val = cfg_table->first_val; val != 0 && val != &df_g_nil_cfg_val; val = val->linear_next) { DF_CoreViewRuleSpec *spec = df_core_view_rule_spec_from_string(val->string); - if(str8_match(spec->info.string, str8_lit("list"), 0)) + if(str8_match(spec->info.string, str8_lit("list"), 0) || + str8_match(spec->info.string, str8_lit("omit"), 0) || + str8_match(spec->info.string, str8_lit("only"), 0)) { // TODO(rjf): "list" view rule needs to be formally moved into the visualization // engine hooks when the system is mature enough to support it + // also "omit", "only" continue; } if(spec->info.flags & DF_CoreViewRuleSpecInfoFlag_VizBlockProd)