Inform - Support - Patches

About Patches  

Compiler  
Library  

DM4 Errata  

Issue L61108     [previous patch]

indef_mode not restored
Submitted by: Michael Roy     Appeared in: Library 6/11 or before     Fixed in: -
Problem

When printing an object with the proper attribute, the functions IndefArt( ) and CIndefArt( ) temporarily modify -- but do not restore -- the value of the global variable indef_mode (see lines 6305 and 6315 in parserm.h).

Solution

On both lines:

  if (o has proper) { indef_mode = NULL; print (PSN__) o; return; }

should probably be replaced with:

  if (o has proper) {
      indef_mode = NULL; print (PSN__) o; indef_mode = i; return;
  }


Last updated 17 April 2013. This web site has not been fully supported since April 2008. Information may be out of date. This page was originally managed by Roger Firth.