Skip to content

Commit 961eec2

Browse files
authored
Merge pull request #9435 from gottesmm/sil_mode_beginaccess_endaccess
2 parents ed2612f + 0df0e58 commit 961eec2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

utils/sil-mode.el

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@
7676
`(,(regexp-opt '("load_borrow" "begin_borrow" "store_borrow" "end_borrow_argument") 'words) . font-lock-keyword-face)
7777
'("\\(end_borrow\\) %[[:alnum:]]+ \\(from\\)" (1 font-lock-keyword-face) (2 font-lock-keyword-face))
7878

79+
;; SIL Instructions - Exclusivity
80+
`(,(regexp-opt '("begin_access" "end_access") 'words) . font-lock-keyword-face)
81+
7982
;; SIL Instructions - ownership
8083
`(,(regexp-opt '("unchecked_ownership_conversion") 'words) . font-lock-keyword-face)
8184

0 commit comments

Comments
 (0)