Minor code improvements after Lua changes.
This commit is contained in:
parent
0da97a9d3e
commit
d957d37636
3 changed files with 17 additions and 19 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue