mirror of
https://github.com/Sei-Lisa/LSL-PyOptimizer
synced 2025-07-01 23:58:20 +00:00
Cosmetic: make a comment clearer
This commit is contained in:
parent
e03b342f78
commit
cfa7e1de89
1 changed files with 1 additions and 1 deletions
|
@ -905,7 +905,7 @@ class parser(object):
|
||||||
# with typecast removal anyway.
|
# with typecast removal anyway.
|
||||||
elif self.allowkeyconcat and op == '+' \
|
elif self.allowkeyconcat and op == '+' \
|
||||||
and type1 in ('key', 'string') and type2 in ('key', 'string'):
|
and type1 in ('key', 'string') and type2 in ('key', 'string'):
|
||||||
# Allow key addition (but add explicit cast)
|
# Allow string+key addition (but add explicit cast)
|
||||||
if type1 == 'key':
|
if type1 == 'key':
|
||||||
term = [S[op], S[type2], [S['CAST'], S[type2], term], value]
|
term = [S[op], S[type2], [S['CAST'], S[type2], term], value]
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue