Inform - Support - Patches

About Patches  

Compiler  
Library  

DM4 Errata  

Issue L61012

DictionaryLookup() returns wrong results
Submitted by: Max Kalus     Appeared in: Library 6/7 or before     Fixed in: -
Problem

After hunting for an error in the German Library -- which apparently occured in the LanguageToInformese() routine -- I found out that the routine DictionaryLookup() returns the wrong results.

Solution

After changing the line

  return parse2-->1;

into

  return parse2->1;

everything worked fine! The whole routine should look like this:

  [ DictionaryLookup b l i;
    for (i=0:i(2+i) = b->i;
    buffer2->1 = l;
    Tokenise__(buffer2,parse2);
    return parse2->1;
  ];
Update (by Cedric Knight)

The unpatched version of DictionaryLookup() seems to behave as described in DM4 for lower case letters, and I notice it is present unchanged in the 2002 German translation.


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.