Skip to content

Commit 089853c

Browse files
committed
Fix typo "identifer" to "identifier"
1 parent 8c45f69 commit 089853c

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

swift-mode-lexer.el

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -900,7 +900,7 @@ This function does not return `implicit-;' or `type-:'."
900900
(swift-mode:fix-operator-type
901901
(swift-mode:token nil text start end))))
902902

903-
;; Backquoted identifer
903+
;; Backquoted identifier
904904
((eq (char-after) ?`)
905905
(let ((pos-after-comment (point)))
906906
(swift-mode:forward-string-chunk)
@@ -939,14 +939,14 @@ This function does not return `implicit-;' or `type-:'."
939939
pos-after-comment
940940
(point))))
941941

942-
;; Other tokens including identifers, implicit parameters, keywords, and
942+
;; Other tokens including identifiers, implicit parameters, keywords, and
943943
;; numbers
944944
(t
945945
(let*
946946
((pos-after-comment (point))
947947
(text
948948
(cond
949-
;; Identifers, implicit parameters, keywords, numbers
949+
;; Identifiers, implicit parameters, keywords, numbers
950950
;;
951951
;; Note: syntax class _ includes #, @, and $.
952952
((memq (char-syntax (char-after)) '(?w ?_))
@@ -973,7 +973,7 @@ This function does not return `implicit-;' or `type-:'."
973973
(- (point) (length text))
974974
(point)))
975975
(t
976-
(swift-mode:token 'identifer
976+
(swift-mode:token 'identifier
977977
text
978978
(- (point) (length text))
979979
(point))))))))
@@ -1149,7 +1149,7 @@ This function does not return `implicit-;' or `type-:'."
11491149
(swift-mode:fix-operator-type
11501150
(swift-mode:token nil text start end)))))
11511151

1152-
;; Backquoted identifer
1152+
;; Backquoted identifier
11531153
((eq (char-before) ?`)
11541154
(let ((pos-before-comment (point)))
11551155
(swift-mode:backward-string-chunk)
@@ -1170,14 +1170,14 @@ This function does not return `implicit-;' or `type-:'."
11701170
(point)
11711171
pos-before-comment)))
11721172

1173-
;; Other tokens including identifers, implicit parameters, keywords, and
1173+
;; Other tokens including identifiers, implicit parameters, keywords, and
11741174
;; numbers
11751175
(t
11761176
(let*
11771177
((pos-before-comment (point))
11781178
(text
11791179
(cond
1180-
;; Identifers, implicit parameters, keywords, numbers
1180+
;; Identifiers, implicit parameters, keywords, numbers
11811181
;;
11821182
;; Note: syntax class _ includes #, @, and $.
11831183
((memq (char-syntax (char-before)) '(?w ?_))

0 commit comments

Comments
 (0)