DavidGriffith / inform6lib

The Inform6 interactive fiction standard library (moved to https://gitlab.com/DavidGriffith/inform6lib)
Other
22 stars 9 forks source link

The output of the PLACES command has an extra newline after it #26

Closed DavidGriffith closed 8 years ago

DavidGriffith commented 8 years ago

From the ever-attentive vlaviano at http://www.intfiction.org/forum/viewtopic.php?f=7&t=19461&p=105834#p105707

The output of the PLACES command has an extra newline after it. Using advent.z5 in the demos directory as an example:

ADVENTURE
The Interactive Original
By Will Crowther (1976) and Don Woods (1977)
Reconstructed in three steps by:
Donald Ekman, David M. Baggett (1993) and Graham Nelson (1994)
[In memoriam Stephen Bishop (1820?-1857): GN]

Release 9 / Serial number 060321 / Inform v6.33 Library 6/12-beta1 S

At End Of Road
You are standing at the end of a road before a small brick building. Around you
is a forest. A small stream flows out of the building and down a gully.

>places
You have visited: At End Of Road.

>

I see that in the beta library (and in lib 6/12 in the archive), in LanguageLM() in english.h, we have:

  Places: switch (n) {
        1:  print "You have visited: ";
        2:  ".^";
    }

while in lib 6/11 in the archive, we have:

  Places: switch (n) {
        1:  print "You have visited: ";
        2:  print ".^";
    }

I see minor differences in the 6/12 version of Places1Sub() in verblibm.h:

return L__M(##Places, 2)

when we reach the end of the list vs. the 6/11 version:

{ L__M(##Places, 2); return; }
DavidGriffith commented 8 years ago

http://inform7.com/mantis/view.php?id=1855