Lua 5.2 compatibility fixes.

This commit is contained in:
James Roseborough
2012-09-03 21:59:51 +00:00
parent b90998c6d4
commit 1831fbc96f
5 changed files with 75 additions and 22 deletions

View File

@@ -67,7 +67,7 @@ abstract public class AbstractUnitTests extends TestCase {
// compile in memory
InputStream is = new ByteArrayInputStream(lua);
Prototype p = LuaC.instance.compile(is, "@" + dir + "/" + file);
Prototype p = LuaC.instance.compile(is, "@" + file);
String actual = protoToString(p);
// load expected value from jar