[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/swift-mode a6d00b5 352/496: Simplify code
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/swift-mode a6d00b5 352/496: Simplify code |
Date: |
Sun, 29 Aug 2021 11:34:05 -0400 (EDT) |
branch: elpa/swift-mode
commit a6d00b5683a181f6cf12e6c706d6322d9f15d7cc
Author: taku0 <mxxouy6x3m_github@tatapa.org>
Commit: taku0 <mxxouy6x3m_github@tatapa.org>
Simplify code
---
swift-mode-lexer.el | 17 -----------------
1 file changed, 17 deletions(-)
diff --git a/swift-mode-lexer.el b/swift-mode-lexer.el
index 6739b0f..4f50177 100644
--- a/swift-mode-lexer.el
+++ b/swift-mode-lexer.el
@@ -282,23 +282,6 @@ Return nil otherwise."
;; }
((eq (swift-mode:token:type next-token) '\{) t)
- ;; Inserts implicit semicolon around #... directives.
- ;;
- ;; Note that we cannot split #if line; the following code is not allowed.
- ;;
- ;; #if
- ;; true
- ;; #end if
- ((and
- (or
- (string-prefix-p "#" (swift-mode:token:text previous-token))
- (string-prefix-p "#" (swift-mode:token:text next-token)))
- (not (member (swift-mode:token:text previous-token)
- '("#file" "#line" "column" "#function")))
- (not (member (swift-mode:token:text next-token)
- '("#file" "#line" "column" "#function"))))
- t)
-
;; Supress implicit semicolon after attributes.
((eq (swift-mode:token:type previous-token) 'attribute)
nil)
- [nongnu] elpa/swift-mode 01a1127 318/496: Fix indentation before "where", (continued)
- [nongnu] elpa/swift-mode 01a1127 318/496: Fix indentation before "where", ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode b135df3 316/496: Fix output messages of the test, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 7837c90 319/496: Fix indentation around "where" and "catch", ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 42a209c 322/496: Fix indentation of guard, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode ab9f414 320/496: Fix indentation of close curly brace of switch, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 97d86cd 326/496: Tweak test runner, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode ea77cf9 328/496: Add comments, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 6cd2948 342/496: Bump version to 2.2.1, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 7e78225 336/496: Bump version to 2.2, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 1868590 348/496: Add build/debug command, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode a6d00b5 352/496: Simplify code,
ELPA Syncer <=
- [nongnu] elpa/swift-mode 75f5214 364/496: Cleanup code, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 7a9cf18 382/496: Fix beginning/end-of-sentence, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 19e6974 371/496: Abstract syntax-ppss, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 69efea4 386/496: Add `current-defun-name`, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 7739e49 387/496: Bump version to 4.1.0, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode ada5576 389/496: Merge pull request #144 from nhojb/which_function_mode_fix, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 4e22279 390/496: Bump version to 4.1.1, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 0e6b044 408/496: Make highlighting symbols in standard library optional, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 71c82e9 418/496: Add compilation before testing, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 1759977 440/496: Fix typo, ELPA Syncer, 2021/08/29