]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/grafite/grafiteAstPp.ml
- transcript: now outputs includes and coercions correctly
[helm.git] / helm / software / components / grafite / grafiteAstPp.ml
index 13a4690dd6408014b436687832232f13622615a2..d064ef619fc6918452ebbc5ce935caeb36a1c027 100644 (file)
@@ -203,7 +203,7 @@ let pp_macro ~term_pp =
   (* real macros *)
   | Check (_, term) -> sprintf "check %s" (term_pp term)
   | Hint _ -> "hint"
-  | Inline (_,suri) -> sprintf "inline %s" suri
+  | Inline (_,suri) -> sprintf "inline \"%s\"" suri
 
 let pp_associativity = function
   | Gramext.LeftA -> "left associative"
@@ -222,7 +222,7 @@ let pp_default what uris =
     (String.concat " " (List.map UriManager.string_of_uri uris))
 
 let pp_coercion uri do_composites arity =
-   sprintf "coercion %s %d (* %s *)" (UriManager.string_of_uri uri) arity
+   sprintf "coercion \"%s\" %d (* %s *)" (UriManager.string_of_uri uri) arity
      (if do_composites then "compounds" else "no compounds")
     
 let pp_command ~term_pp ~obj_pp = function