mirror of
https://github.com/Sei-Lisa/LSL-PyOptimizer
synced 2025-07-01 15:48:21 +00:00
Progress towards dual Python 2 & 3
This commit is contained in:
parent
dde9577cea
commit
f8cf78dfac
10 changed files with 100 additions and 80 deletions
|
@ -19,6 +19,7 @@
|
|||
|
||||
from lslopt import lslfuncs
|
||||
from lslopt.lslcommon import nr
|
||||
from strutil import xrange
|
||||
|
||||
class deadcode(object):
|
||||
|
||||
|
@ -530,7 +531,7 @@ class deadcode(object):
|
|||
self.MarkReferences(statedef)
|
||||
|
||||
# Track removal of global lines, to reasign locations later.
|
||||
LocMap = range(len(self.tree))
|
||||
LocMap = list(range(len(self.tree)))
|
||||
|
||||
GlobalDeletions = []
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue