The effective part of this change is just a few lines. It's the if (DICT_IMPLICIT_SINGULAR) stanza in text.c. Plus checks for the explicit //s and //~s flags in dictionary_prepare_z/g().
I took the opportunity to #define constants for all the dict flags, rather than using integer literals all over. See header.h.
Covers https://github.com/DavidKinder/Inform6/issues/267 .
The effective part of this change is just a few lines. It's the
if (DICT_IMPLICIT_SINGULAR)
stanza in text.c. Plus checks for the explicit//s
and//~s
flags in dictionary_prepare_z/g().I took the opportunity to #define constants for all the dict flags, rather than using integer literals all over. See header.h.
Test cases added to https://github.com/erkyrath/Inform6-Testing/blob/singular/src/dictnewflagtest.inf .