I have just upgraded my Inform 6 compiler from version 6.41 to 6.42 and grammar that I’ve been using for years is now broken. There is no mention of any grammar changes in the release notes. Here are a few examples:
Example 1
Extend only 'pry' 'prise' 'prize' 'lever' 'jemmy' 'force' replace
When compiled, this gives the error:
Warning: Verb declaration no longer has any verbs associated. Use "Extend replace" instead of "Extend only"?
in the library, not in my code. By looking at the library, I can see that these are all the verbs defined for pry, so I should delete only
. Once I’ve done that, I still get an error:
Error: Expected 'replace', 'last', 'first' or '*' but found dict word 'prise'
so I delete all the verbs except the first one and ended up with:
Extend 'pry' replace
It now compiles.
Example 2
Extend only 'answer' replace
When compiled, this gives the same error as example 1.
The standard library uses four synonyms:
Verb 'answer' 'say' 'shout' 'speak'
The PunyInform library uses only three:
Verb 'answer' 'say' 'speak'
I want to replace ‘answer’ and leave the others as is. This looks to be impossible to do after applying the rules discovered in example 1. So, how do I do it?