| trexp (A.OpExp{left,oper=A.LtOp,right,pos}) = let val tyleft = trexp(left) val tyright = trexp(right) in if tyeq(tyleft,tyright) then case tyleft of E.INT => E.INT | E.STRING => E.INT | _ => ((err pos "INT or STRING required"); E.ERROR); else ((err pos "exps must be the same type"); E.ERROR); end