Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove limit on Abbreviate directive #258

Merged
merged 10 commits into from
Jan 17, 2024

Conversation

erkyrath
Copy link
Contributor

This is the first half of #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.

@DavidKinder DavidKinder merged commit 89884b1 into DavidKinder:master Jan 17, 2024
DavidKinder pushed a commit that referenced this pull request Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants