summaryrefslogtreecommitdiff
path: root/editors/sail-mode.el
diff options
context:
space:
mode:
Diffstat (limited to 'editors/sail-mode.el')
-rw-r--r--editors/sail-mode.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/editors/sail-mode.el b/editors/sail-mode.el
index e1da042b..b667b084 100644
--- a/editors/sail-mode.el
+++ b/editors/sail-mode.el
@@ -641,7 +641,7 @@ though, if you also have `sail-electric-indent' on."
(mapc 'sail-define-abbrev
'("scattered" "function" "typedef" "let" "default" "val" "register"
"alias" "union" "member" "clause" "extern" "cast" "effect"
- "rec" "and" "switch" "case" "exit" "foreach" "from" "else"
+ "rec" "and" "switch" "case" "when" "exit" "foreach" "from" "else"
"to" "end" "downto" "in" "then" "with" "if" "nondet" "as"
"undefined" "const" "struct" "IN" "deinfix" "return" "sizeof"))
(setq abbrevs-changed nil))
@@ -711,7 +711,7 @@ Based on Tuareg mode. See Tuareg mode for usage"
`(("\\<\\(extern\\|cast\\|overload\\|deinfix\\|function\\|scattered\\|clause\\|effect\\|default\\|struct\\|const\\|union\\|val\\|typedef\\|in\\|let\\|rec\\|and\\|end\\|register\\|alias\\|member\\|enumerate\\)\\>"
0 sail-font-lock-governing-face nil nil)
("\\<\\(false\\|true\\|bitzero\\|bitone\\|0x[:xdigit:]\\|[:digit:]\\)\\>" 0 font-lock-constant-face nil nil)
- ("\\<\\(as\\|downto\\|else\\|foreach\\|if\\|t\\(hen\\|o\\)\\|when\\|switch\\|with\\|case\\|exit\\|sizeof\\|nondet\\|from\\|by\\|return\\)\\>"
+ ("\\<\\(as\\|downto\\|else\\|foreach\\|if\\|t\\(hen\\|o\\)\\|when\\|switch\\|with\\|case\\|when\\|exit\\|sizeof\\|nondet\\|from\\|by\\|return\\)\\>"
0 font-lock-keyword-face nil nil)
("\\<\\(clause\\)\\>[ \t\n]*\\(\\(\\w\\|[_ \t()*,]\\)+\\)"
2 font-lock-variable-name-face keep nil)