package syntaxtree;
import visitor.Visitor;
import visitor.TypeVisitor;
import irgeneration.IRGenVisitor;

public class IntArrayType extends Type {

  public IntArrayType()
  {
    super("int[]", 0,0);
  }

  public IntArrayType(int line, int col)
  {
    super("int[]", line, col);
  }

  public void accept(Visitor v) {
    v.visit(this);
  }

  public Type accept(TypeVisitor v) {
    return v.visit(this);
  }

}

@@ -184,18 +184,23 @@
 per(%22int
-%5B%5D
+$array$
 %22, 0,0);
@@ -268,10 +268,15 @@
 %22int
-%5B%5D
+$array$
 %22, l

Change string for IntArrayType because square brackets are not legal MIPS identifiers