Skip to content
Commit cf5607fb authored by Luca Burelli's avatar Luca Burelli Committed by Benjamin Cabé
Browse files

cmake: yaml: refactor yaml_set() list operations



This introductory commit refactors the `yaml_set` function separating
the bodies of list operations into internal functions while preserving
their original behavior.

The conditions that cause the value to be interpreted as a list are also
verified only once, avoiding multiple checks.

Signed-off-by: default avatarLuca Burelli <l.burelli@arduino.cc>
parent 2fe573b6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment