Added error listener to the lexer too. refs #506