Codechange: Use EnumBitSet for strgen's CmdFlags. (#13428)

This commit is contained in:
Peter Nelson
2025-02-01 15:45:55 +00:00
committed by GitHub
parent 95bd53ddf1
commit 1d25c526b4
3 changed files with 114 additions and 115 deletions
+1 -1
View File
@@ -339,7 +339,7 @@ int CDECL main(int argc, char *argv[])
flags = 'g'; // Command needs number of parameters defined by number of genders
} else if (cs.proc == EmitPlural) {
flags = 'p'; // Command needs number of parameters defined by plural value
} else if (cs.flags & C_DONTCOUNT) {
} else if (cs.flags.Test(CmdFlag::DontCount)) {
flags = 'i'; // Command may be in the translation when it is not in base
} else {
flags = '0'; // Command needs no parameters