-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
+ we removed an Obj.magic that was casting a smaller status to a bigger status in the wrong way
- Loading branch information
Showing
2 changed files
with
8 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,16 +23,6 @@ | |
* http://cs.unibo.it/helm/. | ||
*) | ||
|
||
(***************************************************************************) | ||
(* *) | ||
(* PROJECT HELM *) | ||
(* *) | ||
(* Andrea Asperti <[email protected]> *) | ||
(* 21/11/2003 *) | ||
(* *) | ||
(* *) | ||
(***************************************************************************) | ||
|
||
(* $Id$ *) | ||
|
||
let use_high_level_pretty_printer = ref true;; | ||
|
@@ -107,4 +97,6 @@ let notation_pp_term status term = | |
BoxPp.render_to_string ~map_unicode_to_tex:(Helm_registry.get_bool "matita.paste_unicode_as_tex") | ||
(function x::_ -> x | _ -> assert false) size pres | ||
|
||
let _ = NotationPp.set_pp_term (fun status y -> snd (notation_pp_term (Obj.magic status) y)) | ||
let _ = | ||
NotationPp.set_pp_term | ||
(fun _status y -> snd (notation_pp_term (new status) y)) |