File tree Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -282,23 +282,6 @@ Return nil otherwise."
282282 ; ; }
283283 ((eq (swift-mode:token:type next-token) '\{ ) t )
284284
285- ; ; Inserts implicit semicolon around #... directives.
286- ; ;
287- ; ; Note that we cannot split #if line; the following code is not allowed.
288- ; ;
289- ; ; #if
290- ; ; true
291- ; ; #end if
292- ((and
293- (or
294- (string-prefix-p " #" (swift-mode:token:text previous-token))
295- (string-prefix-p " #" (swift-mode:token:text next-token)))
296- (not (member (swift-mode:token:text previous-token)
297- '(" #file" " #line" " column" " #function" )))
298- (not (member (swift-mode:token:text next-token)
299- '(" #file" " #line" " column" " #function" ))))
300- t )
301-
302285 ; ; Supress implicit semicolon after attributes.
303286 ((eq (swift-mode:token:type previous-token) 'attribute )
304287 nil )
You can’t perform that action at this time.
0 commit comments