Add error format for cup and jflex.