add error and number lval types