Minor code improvements after Lua changes.

This commit is contained in:
William S Fulton 2014-02-28 19:49:53 +00:00
commit d957d37636
3 changed files with 17 additions and 19 deletions

View file

@ -2096,9 +2096,8 @@ public:
List *to_close = NewList();
while (ki.key) {
assert(ki.item);
if (Getattr(ki.item, "sym:is_scope")) {
// We have a pseudo symbol. Lets get actuall scope for this
// pseudo symbol
if (Getattr(ki.item, "sym:scope")) {
// We have a pseudo symbol. Lets get actual scope for this pseudo symbol
Hash *carrays_hash = rawGetCArraysHash(ki.key);
assert(carrays_hash);
if (Getattr(carrays_hash, "lua:closed") == 0)