mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-15 23:12:15 +00:00
Review follow-ups: - Two .dic entries for the same word could each stay within MAX_FLAGS_PER_ENTRY while their merged set went past it; the compact data then held a set its reader refuses, and the word was lost on reload. An entry that would take the merged set past the cap is now skipped, as an oversized entry is. - In one-character mode a FORBIDDENWORD or NOSUGGEST flag that no stem or rule uses was written to the compact data, which the old format left out. It is left out again, so those dictionaries' bytes don't change. Ported from storytold/wordcraft#5142 (f10bb61ab) onto craft-proof. Conflict resolved: the used-flag filter covers SUBSTANDARD and KEEPCASE too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FypgCX8LsYYE8fsj4byBm2