Fix lexing of '.%\n' - make sure correct lexer state is set