ucm: evaluate Repeat block before If block (Syntax 9)

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
Jaroslav Kysela 2026-02-06 18:59:30 +01:00
parent c41f795f5c
commit 22225a4ec6
2 changed files with 4 additions and 4 deletions

View file

@ -765,10 +765,10 @@ int uc_mgr_evaluate_inplace(snd_use_case_mgr_t *uc_mgr,
return err4;
if (err4 == 0)
continue;
err5 = evaluate_condition(uc_mgr, cfg);
err5 = uc_mgr_evaluate_repeat(uc_mgr, cfg);
if (err5 < 0)
return err5;
err6 = uc_mgr_evaluate_repeat(uc_mgr, cfg);
err6 = evaluate_condition(uc_mgr, cfg);
if (err6 < 0)
return err6;
}

View file

@ -587,8 +587,8 @@ Evaluation order | Configuration block | Evaluation restart
2 | Include | Yes
3 | Variant | Yes
4 | Macro | Yes
5 | If | Yes
5 | Repeat | Yes
6 | If | Yes
### Substitutions