[liblouis-liblouisxml] Two chains with only one head.

  • From: Dave Mielke <dave@xxxxxxxxx>
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Sat, 14 Jan 2017 15:21:38 -0500

There's a problem with the otherRules field of the TranslationTableCharacter 
structure. addForwardRuleWithSingleChar() chains rules to it via the rules' 
charsnext fields (leaving the dotsnext fields 0) whereas 
addBackwardRuleWithSingloeChar() chains rules to it via the rules' dotsnext 
fields (leaving the charsnext fields 0). This means that when starting from 
otherRules, following either chain can end prematurely.

I'm thinking about how best to resolve this problem, but I thought I'd alert 
you to it now because it may explain some problems that you know of but haen't 
yet figured out what's causing them.

-- 
Dave Mielke           | 2213 Fox Crescent | The Bible is the very Word of God.
Phone: 1-613-726-0014 | Ottawa, Ontario   | http://Mielke.cc/bible/
EMail: Dave@xxxxxxxxx | Canada  K2A 1H7   | http://FamilyRadio.org/
For a description of the software, to download it and links to
project pages go to http://liblouis.org

Other related posts: