Improve compatibility with luaj 1.0
This commit is contained in:
@@ -210,7 +210,7 @@ public class PackageLib extends OneArgFunction {
|
|||||||
table.set(key, field);
|
table.set(key, field);
|
||||||
table = field;
|
table = field;
|
||||||
} else if ( ! val.istable() ) { /* field has a non-table value? */
|
} else if ( ! val.istable() ) { /* field has a non-table value? */
|
||||||
return NIL;
|
return null;
|
||||||
} else {
|
} else {
|
||||||
table = val;
|
table = val;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user