Fine-tune protection to enable compiler porting.
This commit is contained in:
@@ -3,14 +3,14 @@ package lua.io;
|
||||
import lua.value.LString;
|
||||
|
||||
public class LocVars {
|
||||
final LString m_varname;
|
||||
final int m_startpc;
|
||||
final int m_endpc;
|
||||
public LString varname;
|
||||
public int startpc;
|
||||
public int endpc;
|
||||
|
||||
public LocVars(LString varname, int startpc, int endpc) {
|
||||
this.m_varname = varname;
|
||||
this.m_startpc = startpc;
|
||||
this.m_endpc = endpc;
|
||||
this.varname = varname;
|
||||
this.startpc = startpc;
|
||||
this.endpc = endpc;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -8,10 +8,11 @@ import lua.value.LString;
|
||||
** Function Prototypes
|
||||
*/
|
||||
public class Proto extends LValue {
|
||||
// TODO: what to do with state?
|
||||
public Proto(StackState l) {
|
||||
}
|
||||
|
||||
public Proto() {
|
||||
}
|
||||
|
||||
public LValue[] k; /* constants used by the function */
|
||||
// TValue *k; /* constants used by the function */
|
||||
// Instruction *code;
|
||||
|
||||
@@ -30,7 +30,7 @@ public class LoadStateTest extends TestCase {
|
||||
Double.NEGATIVE_INFINITY,
|
||||
Double.POSITIVE_INFINITY,
|
||||
Double.MAX_VALUE,
|
||||
Double.MIN_NORMAL
|
||||
Double.MAX_VALUE
|
||||
};
|
||||
|
||||
public void testLongBitsToLuaNumber() {
|
||||
|
||||
Reference in New Issue
Block a user