&& primitiveID!=WeaselPrimitive.FLOAT && primitiveID!=WeaselPrimitive.DOUBLE){
throw new WeaselCompilerException(operator.line, "Operator %s is only usable with char, byte, short, int, long, float, double, not with %s", oper, ret);
}
}
if(oper==WeaselOperator.MINUS_PREFIX){
instructions.add(operator.line, new WeaselInstructionNeg(primitiveID));
}
}else{
throw new WeaselCompilerException(operator.line, "Unknown operator %s", operator);
}
return new WeaselCompilerReturnInstructionList(instructions, ret);