fixed a warning about the new enum ASTTYPE