antlr error handle.
refine