lexer: moved part of Lexer.lookupNewline() to LexerTables.