Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001855I6 LibraryGeneralpublic2016-01-21 21:062016-02-13 01:55
Assigned ToDavidG 
PlatformOSOS Version
Product Version6/12 
Target Version6/12Fixed in Version6/12 
Summary0001855: The output of the PLACES command has an extra newline after it
DescriptionFrom [^]

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

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.

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; }

but nothing that would obviously produce different numbers of newlines beyond what's in the L__M. So, I'm not sure what happened there between 6/11 and 6/12.
Additional Information [^]
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
DavidG (developer)
2016-01-21 21:06

I think this is the result of some cleanups I did regarding excess newlines here and there and made things worse in a few places.

- Issue History
Date Modified Username Field Change
2016-01-21 21:06 DavidG New Issue
2016-01-21 21:06 DavidG Status new => assigned
2016-01-21 21:06 DavidG Assigned To => DavidG
2016-01-21 21:06 DavidG Note Added: 0004324
2016-02-13 01:55 DavidG Status assigned => resolved
2016-02-13 01:55 DavidG Fixed in Version => 6/12
2016-02-13 01:55 DavidG Resolution open => fixed
2016-02-13 01:55 DavidG Status resolved => closed

Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker