Inform: problem with parse_name


13 Nov 1995 22:48:26 GMT

I seem to be having a problem with the parse_name method. The manual
says that if parse_name returns -1, the parser looks at any words
in the name property.

However, this doesn't seem to work. I have a mirror image (of the
player), with

name "image" "reflection"

and a parse_name routine that tries to match "mirror image" (I can't
have "mirror" as a name, since that will lead to "Examine mirror -
Which mirror do you meant, the mirror or your mirror image?") If it
does match, everything works OK. If it doesn't, it returns -1, and if
my interpretation of the manual is correct then the parser should
accept the words "image" or "reflection". The problem is that it
doesn't - it just says "You can't see any such thing".

What's going wrong here?

Magnus