allow access to lexer in parseError