Changeset 162:1bcd4818eb58 in livinglogic.java.ul4

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

Fix access to stack entry.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • library/src/com/livinglogic/ul4/ul4c.py

    r158 r162  
    8282                last = stack.pop() 
    8383                if last[0] == "if": 
    84                     for i in xrange(last[1]): 
     84                    for i in xrange(last[2]): 
    8585                        template.opcode(ul4.Opcode.OC_ENDIF, location) 
    8686                else: # last[0] == "for":