File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -1442,7 +1442,7 @@ of ancestors."
14421442
14431443 ; ; Ignored: "import" "get" "set" "willSet" "didSet"
14441444 (t nil ))))
1445- (if (memq (swift-mode:token:type name-token) '( identifier operator) )
1445+ (if (eq (swift-mode:token:type name-token) identifier)
14461446 name-token
14471447 nil )))
14481448
Original file line number Diff line number Diff line change @@ -632,8 +632,7 @@ Return nil otherwise."
632632 ; ; FIXME: mutual dependency
633633 (progn (swift-mode:try-backward-generic-parameters) (point )))
634634 (swift-mode:function-parameter-clause-p)))
635- ((or (eq previous-type 'operator )
636- (eq previous-type 'identifier ))
635+ ((eq previous-type 'identifier )
637636 (equal (swift-mode:token:text (swift-mode:backward-token-simple))
638637 " func" ))
639638 (t nil )))))
You can’t perform that action at this time.
0 commit comments