diff options
| author | ppedrot | 2013-01-28 21:05:35 +0000 |
|---|---|---|
| committer | ppedrot | 2013-01-28 21:05:35 +0000 |
| commit | 5a39e6c08d428d774165e0ef3922ba8b75eee9e1 (patch) | |
| tree | e035f490e2c748356df73342876b22cfcb3bc5a0 /interp/notation.ml | |
| parent | 5e8824960f68f529869ac299b030282cc916ba2c (diff) | |
Uniformization of the "anomaly" command.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@16165 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'interp/notation.ml')
| -rw-r--r-- | interp/notation.ml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/interp/notation.ml b/interp/notation.ml index 39a664a64a..ac71e1ebdc 100644 --- a/interp/notation.ml +++ b/interp/notation.ml @@ -337,7 +337,7 @@ let rec find_without_delimiters find (ntn_scope,ntn) = function let declare_notation_level ntn level = if Gmap.mem ntn !notation_level_map then - anomaly ("Notation "^ntn^" is already assigned a level"); + anomaly (str "Notation " ++ str ntn ++ str " is already assigned a level"); notation_level_map := Gmap.add ntn level !notation_level_map let level_of_notation ntn = @@ -887,7 +887,7 @@ let declare_notation_printing_rule ntn unpl = let find_notation_printing_rule ntn = try Gmap.find ntn !printing_rules - with Not_found -> anomaly ("No printing rule found for "^ntn) + with Not_found -> anomaly (str "No printing rule found for " ++ str ntn) (**********************************************************************) (* Synchronisation with reset *) |
