mirror of
https://github.com/Sei-Lisa/LSL-PyOptimizer
synced 2025-07-01 23:58:20 +00:00
Forgot a SEF case.
This commit is contained in:
parent
a03e0261ff
commit
954b8d81d4
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ class optimizer(renamer, deadcode):
|
|||
# this enables some optimizations.
|
||||
#if node['t'] != 'key': # key constants not possible
|
||||
|
||||
parent[index] = {'nt':'CONST', 't':node['t'],
|
||||
parent[index] = {'nt':'CONST', 't':node['t'], 'SEF':True,
|
||||
'value':lslfuncs.typecast(
|
||||
child[0]['value'], self.LSL2PythonType[node['t']])}
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue