summaryrefslogtreecommitdiff
path: root/src/pretty_print.ml
diff options
context:
space:
mode:
authorKathy Gray2015-08-14 10:30:30 +0100
committerKathy Gray2015-08-14 10:30:30 +0100
commitd698593f14334811f3230d385737cc2bc96b5a63 (patch)
treee78280127bc9e1736c3625168063ef3f3a5d8bd4 /src/pretty_print.ml
parentd4d2e262f96a8eef543c017c8df08c25f2715118 (diff)
Steps towards making constraint solver smarter
Diffstat (limited to 'src/pretty_print.ml')
-rw-r--r--src/pretty_print.ml6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pretty_print.ml b/src/pretty_print.ml
index 266e8141..182c1929 100644
--- a/src/pretty_print.ml
+++ b/src/pretty_print.ml
@@ -65,14 +65,14 @@ let pp_format_var (Kid_aux(Var v,_)) = v
let rec pp_format_l_lem = function
| Parse_ast.Unknown -> "Unknown"
-(* | _ -> "Unknown"*)
- | Parse_ast.Int(s,None) -> "(Int \"" ^ s ^ "\" Nothing)"
+ | _ -> "Unknown"
+(* | Parse_ast.Int(s,None) -> "(Int \"" ^ s ^ "\" Nothing)"
| Parse_ast.Int(s,(Some l)) -> "(Int \"" ^ s ^ "\" (Just " ^ (pp_format_l_lem l) ^ "))"
| Parse_ast.Range(p1,p2) -> "(Range \"" ^ p1.Lexing.pos_fname ^ "\" " ^
(string_of_int p1.Lexing.pos_lnum) ^ " " ^
(string_of_int (p1.Lexing.pos_cnum - p1.Lexing.pos_bol)) ^ " " ^
(string_of_int p2.Lexing.pos_lnum) ^ " " ^
- (string_of_int (p2.Lexing.pos_cnum - p2.Lexing.pos_bol)) ^ ")"
+ (string_of_int (p2.Lexing.pos_cnum - p2.Lexing.pos_bol)) ^ ")"*)
let pp_lem_l ppf l = base ppf (pp_format_l_lem l)