simplify LuaCompiler interface and add Lua2Java utility class.
This commit is contained in:
@@ -159,7 +159,7 @@ public class luac {
|
||||
private void processScript( InputStream script, String chunkname, OutputStream out ) throws IOException {
|
||||
try {
|
||||
// create the chunk
|
||||
Prototype chunk = LuaC.compile(script, chunkname);
|
||||
Prototype chunk = LuaC.instance.compile(script, chunkname);
|
||||
|
||||
// list the chunk
|
||||
if (list)
|
||||
|
||||
Reference in New Issue
Block a user