This is the first half of https://github.com/DavidKinder/Inform6/issues/257. The MAX_ABBREV_LENGTH constant still exists, but it now only applies to the abbrevation generator. The Abbreviate directive can accept abbreviations of any length.
This required changing the abbreviations_at array (allocated in chunks of MAX_ABBREV_LENGTH) to a new abbreviations_text array (allocated in chars). The abbreviation struct now has a value saying where in abbreviations_text to look.
This is the first half of https://github.com/DavidKinder/Inform6/issues/257. The MAX_ABBREV_LENGTH constant still exists, but it now only applies to the abbrevation generator. The Abbreviate directive can accept abbreviations of any length.
This required changing the
abbreviations_at
array (allocated in chunks of MAX_ABBREV_LENGTH) to a newabbreviations_text
array (allocated in chars). Theabbreviation
struct now has a value saying where inabbreviations_text
to look.