aboutsummaryrefslogtreecommitdiff
path: root/vernac/attributes.ml
diff options
context:
space:
mode:
authorGaëtan Gilbert2018-10-11 18:12:47 +0200
committerGaëtan Gilbert2018-11-02 13:26:16 +0100
commit1b753da49ea4a10d7779bb50d93bea25157c01bd (patch)
tree88fc18e1cfd69318258c6d69082fb883b80db3ff /vernac/attributes.ml
parentc7ce8a036e07930793dc4904457188ca97064700 (diff)
Load doesn't support attributes
Diffstat (limited to 'vernac/attributes.ml')
-rw-r--r--vernac/attributes.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/vernac/attributes.ml b/vernac/attributes.ml
index 389441356e..14db90c3de 100644
--- a/vernac/attributes.ml
+++ b/vernac/attributes.ml
@@ -11,13 +11,13 @@
open CErrors
open Vernacexpr
-let unsupported_attributes ?loc = function
+let unsupported_attributes = function
| [] -> ()
| atts ->
let keys = List.map fst atts in
let keys = List.sort_uniq String.compare keys in
let conj = match keys with [_] -> "this attribute: " | _ -> "these attributes: " in
- user_err ?loc Pp.(str "This command does not support " ++ str conj ++ prlist str keys ++ str".")
+ user_err Pp.(str "This command does not support " ++ str conj ++ prlist str keys ++ str".")
type 'a key_parser = 'a option -> vernac_flag_value -> 'a