mirror of
https://github.com/Sei-Lisa/LSL-PyOptimizer
synced 2025-07-01 23:58:20 +00:00
lazylistcompat idea ditched.
This commit is contained in:
parent
87b6002b6c
commit
a6127cf144
2 changed files with 14 additions and 2 deletions
|
@ -1877,6 +1877,14 @@ class parser(object):
|
|||
# Allow brackets for assignment of list elements e.g. mylist[5]=4
|
||||
self.lazylists = 'lazylists' in options
|
||||
|
||||
# This was once an idea, but it has been discarded because
|
||||
# llListReplaceList requires the argument to be evaluated twice,
|
||||
# so the function is unavoidable. Consider e.g. L[x++] = 3 expanded to
|
||||
# L = llListReplaceList(L, [3], x++, x++).
|
||||
# # Extend the list with integer zeros when lazylists is active and the
|
||||
# # index is greater than the end of the list.
|
||||
# self.lazylistcompat = 'lazylistcompat' in options
|
||||
|
||||
# TODO: Enable break/continue
|
||||
#self.breakcont = 'breakcont' in options
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue