Joined: 22 Nov 2004
Location: Wichita, KS
|Posted: Thu Aug 03, 2006 6:05 pm Post subject: Another quirk: "You don't see him"
|The applicable bit is around line 1091 in hugolib.h.
If you have a "living" thing that is neither male nor female (an androgenous alien, perhaps), and you've set the appropriate pronouns ("it", "it", "its", "itself), I've found at least one instance where the library will still refer to it as a "him". The code checks to see if the living thing is plural (them), else female (her), else (him).
It'd be pretty easy to test for obj.pronoun #2, and print that instead -- and if non-existent, follow through with the current logic.
For my purposes, I'll probably need to do a NewParseError for that one condition (case 11). :)
Here's how I've fixed that part, in a little snippet I put inside a NewParseError:
|print CThe(actor); \
MatchPlural(actor, "doesn't", "don't"); \
" see ";
if (obj.pronouns #2)
print obj.pronouns #2;
elseif obj is plural
elseif obj is female