[dev-context] Bug in ruby register code?

Duncan Hothersall dh at capdm.com
Mon Oct 16 17:23:15 CEST 2006

> can you play a bit with:                       
> @@registers[data[1]].push(Register.new(4,data[1],data[2],data[3],data[4],data[5],data[6],0))
> (nil -> 0) around line 798 in base/texutil.rb 

That seems to break quite a lot on my big index - just outputs
everything in page order, and with no interpretation of "+" parts. If I
change it to '0' instead it behaves exactly like nil; as does '' as far
as I can tell.

Subsequently I experimented with these eight values to try to understand
what each of them represents, but your code is a bit (far) too clever
for me.

Wish I could be of more use.


More information about the dev-context mailing list