upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/src/xma2_decoder.cpp
diff options
context:
space:
mode:
authorsyfyra <258908070+syfyra@users.noreply.github.com>2026-11-26 17:44:53 +0100
committersyfyra <258908070+syfyra@users.noreply.github.com>2026-11-26 17:44:53 +0100
commit762b141795c1d12e0d87f4c5c2c28c2b7783397d (patch)
tree1790707e0ccec586ddd9a85b6851566ffa0c2821 /runtime/src/xma2_decoder.cpp
parentd5634defe4030ec12558f70492fd7322ddaf5873 (diff)
awc_names: number family members by their suffix (AWC-NAMES-FAMILY-SUFFIX-NUMBER)
A family is a base whose numbered suffixes hit ids in one bank: at least 3 members, or 2 with adjacent numbers (docs/audio.md, the module docstring). family_ok took each member's trailing number from the whole name, so when the base itself ends in a digit its unsuffixed member got a number too: amb_1 + amb_1_02 counted as the adjacent pair 1/2 and was accepted, while the same shape on a base without a digit (horn + horn_02) is rejected. Dictionary bases can end in a digit token. Pass family_ok the members' suffixes, so the base's own digits never count. Tested: new test_a_digit_that_ends_the_base_is_not_a_member_number (fails before for amb_1; two adjacent suffixes and three members on the same base are still families). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/xma2_decoder.cpp')
0 files changed, 0 insertions, 0 deletions