From 124a2823a0f9b8b2c30e31f87642576f49028f4e Mon Sep 17 00:00:00 2001 From: Sei Lisa Date: Sun, 27 Jul 2014 13:49:18 +0200 Subject: [PATCH] builtins.txt was not named as the source of some errors. Fixed. --- lslopt/lslparse.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lslopt/lslparse.py b/lslopt/lslparse.py index 63898e8..f6dd885 100644 --- a/lslopt/lslparse.py +++ b/lslopt/lslparse.py @@ -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