Improve compatibility with luaj 1.0

This commit is contained in:
James Roseborough
2010-04-17 17:39:13 +00:00
parent 6dfe984172
commit 5a416f177c

View File

@@ -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;
} }