Fix lexer behavior with single dot