mirror of
https://github.com/Sei-Lisa/LSL-PyOptimizer
synced 2025-07-01 15:48:21 +00:00
builtins.txt was not named as the source of some errors. Fixed.
This commit is contained in:
parent
609df368f3
commit
124a2823a0
1 changed files with 2 additions and 2 deletions
|
@ -1870,7 +1870,7 @@ class parser(object):
|
|||
#if typ == 'key':
|
||||
# val = Key(val)
|
||||
elif typ == 'key':
|
||||
warning(u'Key constants not supported: ' + line.decode('utf8'))
|
||||
warning(u'Key constants not supported in builtins.txt: ' + line.decode('utf8'))
|
||||
val = None
|
||||
elif typ in ('vector', 'rotation'):
|
||||
if val[0:1] != '<' or val[-1:] != '>':
|
||||
|
@ -1900,7 +1900,7 @@ class parser(object):
|
|||
val = Vector(val)
|
||||
else:
|
||||
assert typ == 'list'
|
||||
warning(u'List constants not supported: ' + line.decode('utf8'))
|
||||
warning(u'List constants not supported in builtins.txt: ' + line.decode('utf8'))
|
||||
val = None
|
||||
if val is not None:
|
||||
self.constants[name] = val
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue