]> matita.cs.unibo.it Git - fireball-separation.git/blobdiff - ocaml/parser.ml
Fixed "$" in parser
[fireball-separation.git] / ocaml / parser.ml
index 15e2a6a4e170dd8db1623110d41d9aead5971294..e410d751fc5ed0d2e007fcb4e54b2e3d5255644e 100644 (file)
@@ -237,6 +237,6 @@ let from_file path =
  with End_of_file ->\r
   close_in chan in\r
  let txt = String.concat "\n" (List.rev !lines) in\r
- let problems = Str.split (Str.regexp "\\$") txt in\r
+ let problems = Str.split (Str.regexp "\n\\$") txt in\r
  List.map problem_of_string (List.tl (List.map ((^) "$") problems))\r
 ;;\r