package lua.io;

import lua.StackState;
import lua.value.LValue;
import lua.value.LString;

/*
** Function Prototypes
*/
public class Proto {
 	public Proto() {
	}

	public LValue[] k; /* constants used by the function */
//	  TValue *k;  /* constants used by the function */
//	  Instruction *code;
	public int[] code;
//	  struct Proto **p;  /* functions defined inside the function */
	public Proto[] p;
//	  int *lineinfo;  /* map from opcodes to source lines */
	public int[] lineinfo;
//	  struct LocVar *locvars;  /* information about local variables */
	public LocVars[] locvars;
//	  TString **upvalues;  /* upvalue names */
	public LString[] upvalues;
	public LString  source;
	public int nups;
	public int sizeupvalues;
	public int sizek;  /* size of `k' */
	public int sizecode;
	public int sizep;  /* size of `p' */
	public int linedefined;
	public int lastlinedefined;
//	  GCObject *gclist;
	public int numparams;
	public boolean is_vararg;
	public int maxstacksize;

}

@@ -163,27 +163,8 @@
 %7D%0A%0A%09
-public LValue%5B%5D k; 
 /* c
@@ -200,130 +200,50 @@
  */%0A
-//%09  TValue *k;  /* constants used by the function */%0A//%09  Instruction *code;%0A%09public int%5B%5D code;%0A//%09  struct Proto **p;  
+%09public LValue%5B%5D k; %0A%09public int%5B%5D code;%0A%09
 /* f
@@ -305,29 +305,9 @@
  p;%0A
-//%09  int *lineinfo;  
+%09
 /* m
@@ -369,38 +369,9 @@
 fo;%0A
-//%09  struct LocVar *locvars;  
+%09
 /* i
@@ -437,34 +437,9 @@
 rs;%0A
-//%09  TString **upvalues;  
+%09
 /* u
@@ -529,132 +529,8 @@
 ps;%0A
-%09public int sizeupvalues;%0A%09public int sizek;  /* size of %60k' */%0A%09public int sizecode;%0A%09public int sizep;  /* size of %60p' */%0A
 %09pub
@@ -583,31 +583,8 @@
 ed;%0A
-//%09  GCObject *gclist;%0A
 %09pub

Remove unused variables.