curiousdannii-testing / inform7-imported-bugs

0 stars 0 forks source link

[I7-1485] [Mantis 1521] Inform accepts some badly-punctuated declarations #599

Closed curiousdannii-testing closed 2 years ago

curiousdannii-testing commented 2 years ago

Reported by : dfremont

Description :

Inform seems to not care very much what punctuation ends the declaration of a room or thing, as long as there is a blank line after the declaration. Removing any of the blank lines between declarations in the first example below will cause the correct Problem message to be issued. Sometimes the Problem message will be misleading, however, as in the second example.

Steps to reproduce :

[Example 1]

"Foo" by Bar.

Zog is a room;

Rog is a room:

Fog is a room

[Example 2]

"Foo" by Bar.
Zog is a room:
Every turn: do nothing.

Additional information :

imported from: [Mantis 1521] Inform accepts some badly-punctuated declarations
  • status: Closed
  • resolution: Resolved
  • resolved: 2022-04-07T04:58:48+10:00
  • imported: 2022/01/10
curiousdannii-testing commented 2 years ago

557058:4c095ffd-6d6f-47ce-9e73-77c613347b86:

Comment by graham :
Problem messages added to catch various punctuation accidents: colons at ends of paragraphs or sentences, and semicolons at ends of sentences or following colons or full stops. One must be pragmatic, though. Semicolons at end of paragraph often seem natural, e.g. after an I6 inclusion, or at the end of a rule.