Add skeleton for string library calls.

This commit is contained in:
James Roseborough
2007-09-18 01:00:36 +00:00
parent 5efda81b17
commit 952a2f9f16
6 changed files with 379 additions and 42 deletions

View File

@@ -92,7 +92,7 @@ public class StandardTest extends TestCase {
for ( int i = 0; i <= state.cc; ++i ) {
CallInfo call = state.calls[i];
Proto p = call.closure.p;
int line = p.lineinfo[call.pc];
int line = p.lineinfo[call.pc-1];
String func = call.closure.luaAsString().toJavaString();
stackTrace[state.cc - i] = new StackTraceElement(getName(), func, getName()+".lua", line );
}