Collect all errors at end of lex