diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2023-05-09 17:15:19 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2023-05-11 15:19:25 -0700 |
commit | 80905545cdd85536191486b8fe2095686d197f58 (patch) | |
tree | 586212fbbdceea65aa471b50dd7dc3fd48ad1346 /src/til_util.h | |
parent | 40feb616242c4e29395659ff1873c9fa35b31dcd (diff) |
til_settings: helper for labeling positional instances
When there's a bare-value setting turned into a nested settings
instance, there's no key onhand for labeling the instance.
But such nameless settings are basically array elements only
positionally accessed. This helper produces labels in that style
for such settings by taking the container settings label and
adding [$idx] to the end.
These labels aren't really used as more than a debugging aid at
the moment. But module contexts already have paths in main, and
it seems like these settings instance labels will likely become
the name components in constructing those paths.
Diffstat (limited to 'src/til_util.h')
0 files changed, 0 insertions, 0 deletions