Changeset 3514:90285a4c33b2 in livinglogic.python.xist

Show
Ignore:
Timestamp:
07/15/08 12:47:00 (11 years ago)
Author:
Walter Doerwald <walter@…>
Branch:
default
Message:

Fix formatting of the getslice2 opcode.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/ll/ul4c.py

    r3508 r3514  
    535535            return "r%r = r%r[r%r:]" % (self.r1, self.r2, self.r3) 
    536536        elif self.code == "getslice2": 
    537             return "r%r = r%r[:r%r]" % (self.r1, self.r2, self.r4) 
     537            return "r%r = r%r[:r%r]" % (self.r1, self.r2, self.r3) 
    538538        elif self.code == "getslice12": 
    539539            return "r%r = r%r[r%r:r%r]" % (self.r1, self.r2, self.r3, self.r4)