Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix and test case for Mantis bug 1977
- Loading branch information
Showing
6 changed files
with
67 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
Foo is a room. | ||
To zog: | ||
let A0 be the player; | ||
let A1 be the player; | ||
let A2 be the player; | ||
let A3 be the player; | ||
let A4 be the player; | ||
let A5 be the player; | ||
let A6 be the player; | ||
let A7 be the player; | ||
let A8 be the player; | ||
if every room encloses a thing that is A0 that is A1 that is A2 that is A3 that is A4 that is A5 that is A6 that is A7 that is A8, do nothing. |
25 changes: 25 additions & 0 deletions
25
inform7/Tests/Test Problems/_Results_Ideal/PM_CinderOverflow.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
Inform 7 v10.1.0 has started. | ||
I've now read your source text, which is 86 words long. | ||
I've also read Basic Inform by Graham Nelson, which is 7691 words long. | ||
I've also read English Language by Graham Nelson, which is 2328 words long. | ||
I've also read Standard Rules by Graham Nelson, which is 32092 words long. | ||
Problem__ PM_CinderOverflow | ||
>--> You wrote 'if every room encloses a thing that is A0 that is A1 that is | ||
A2 that is A3 that is A4 that is A5 that is A6 that is A7 that is A8' (source | ||
text, line 12): but this complicated condition makes use of too many | ||
temporary values, and will have to be simplified. | ||
Problem__ PM_TooManyLocals | ||
>--> You wrote 'if every room encloses a thing that is A0 that is A1 that is | ||
A2 that is A3 that is A4 that is A5 that is A6 that is A7 that is A8' (source | ||
text, line 12): but there are too many temporarily-named values in this | ||
phrase, which may be a sign that it is complicated enough to need breaking | ||
up into smaller phrases making use of each other. The limit is 15 at a time | ||
for a Z-machine project (see the Settings) and 256 at a time for Glulx. | ||
That has to include both values created in the declaration of a phrase | ||
(e.g. the 'N' in 'To deduct (N - a number) points: ...', or the 'watcher' | ||
in 'Instead of taking something in the presence of a man (called the | ||
watcher): ...'), and also values created with 'let' or 'repeat' (each | ||
'repeat' loop claiming two such values) - not to mention one or two values | ||
occasionally needed to work with Tables. Because of all this, it's best to | ||
keep the complexity to a minimum within any single phrase. | ||
Inform 7 has finished. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters