Skip to content

Commit b7c6627

Browse files
authored
Merge pull request #7948 from gottesmm/sil_mode_end_borrow_fix
2 parents d07ba91 + 141817c commit b7c6627

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/sil-mode.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474

7575
;; SIL Instructions - Borrowing
7676
`(,(regexp-opt '("load_borrow" "begin_borrow" "store_borrow" "end_borrow_argument") 'words) . font-lock-keyword-face)
77-
'("\\(end_borrow\\) %[[:alnum:]] \\(from\\)" (1 font-lock-keyword-face) (2 font-lock-keyword-face))
77+
'("\\(end_borrow\\) %[[:alnum:]]+ \\(from\\)" (1 font-lock-keyword-face) (2 font-lock-keyword-face))
7878

7979
;; SIL Instructions - ownership
8080
`(,(regexp-opt '("unchecked_ownership_conversion") 'words) . font-lock-keyword-face)

0 commit comments

Comments
 (0)