summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorAlasdair Armstrong2019-05-22 15:20:54 +0100
committerAlasdair Armstrong2019-05-22 15:20:54 +0100
commit3e56cca75ea1e749fed71cda6a0c8b07659df611 (patch)
tree729732074d562a3404df63573e18e67f3ffac4ef /editors
parent7b4bf2bd14cae99a4d8086a0b66d9875be1acbab (diff)
Move Util.warn to Reporting, and make it take the location as a parameter
Also add a $suppress_warnings directive that ensures that no warnings are generated for a specific file.
Diffstat (limited to 'editors')
-rw-r--r--editors/sail-mode.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/editors/sail-mode.el b/editors/sail-mode.el
index a0d98429..e800b05f 100644
--- a/editors/sail-mode.el
+++ b/editors/sail-mode.el
@@ -45,7 +45,8 @@
(defconst sail2-special
'("_prove" "_not_prove" "create" "kill" "convert" "undefined"
- "$define" "$include" "$ifdef" "$ifndef" "$else" "$endif" "$option" "$optimize" "$latex" "$property" "$counterexample"))
+ "$define" "$include" "$ifdef" "$ifndef" "$else" "$endif" "$option" "$optimize"
+ "$latex" "$property" "$counterexample" "$suppress_warnings"))
(defconst sail2-font-lock-keywords
`((,(regexp-opt sail2-keywords 'symbols) . font-lock-keyword-face)