Skip to content

Commit f13b6db

Browse files
authored
Merge pull request #1771 from amesgen/add-capi
Add `capi` calling convention
2 parents 8402caa + a8f23d8 commit f13b6db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

haskell-font-lock.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ on an uppercase identifier."
426426

427427
;; Special case for `foreign import'
428428
;; keywords in foreign import statements but are not otherwise reserved.
429-
("\\<\\(foreign\\)[ \t]+\\(import\\)[ \t]+\\(?:\\(ccall\\|stdcall\\|cplusplus\\|jvm\\|dotnet\\)[ \t]+\\)?\\(?:\\(safe\\|unsafe\\|interruptible\\)[ \t]+\\)?"
429+
("\\<\\(foreign\\)[ \t]+\\(import\\)[ \t]+\\(?:\\(ccall\\|capi\\|stdcall\\|cplusplus\\|jvm\\|dotnet\\)[ \t]+\\)?\\(?:\\(safe\\|unsafe\\|interruptible\\)[ \t]+\\)?"
430430
(1 'haskell-keyword-face nil lax)
431431
(2 'haskell-keyword-face nil lax)
432432
(3 'haskell-keyword-face nil lax)

0 commit comments

Comments
 (0)