mirror of
https://github.com/c-cube/sidekick.git
synced 2025-12-07 11:45:41 -05:00
style
This commit is contained in:
parent
6cc3510d0e
commit
aa5af3b0f2
1 changed files with 6 additions and 5 deletions
|
|
@ -21,11 +21,12 @@ let of_input f =
|
||||||
raise (Syntax_error (-1))
|
raise (Syntax_error (-1))
|
||||||
end
|
end
|
||||||
| l ->
|
| l ->
|
||||||
begin try begin match List.rev_map int_of_string l with
|
begin try
|
||||||
| 0 :: r -> Clause r
|
begin match List.rev_map int_of_string l with
|
||||||
| _ -> raise (Syntax_error (-1))
|
| 0 :: r -> Clause r
|
||||||
end with
|
| _ -> raise (Syntax_error (-1))
|
||||||
| Invalid_argument _ -> raise (Syntax_error (-1))
|
end
|
||||||
|
with Invalid_argument _ -> raise (Syntax_error (-1))
|
||||||
end
|
end
|
||||||
|
|
||||||
let parse_with todo file =
|
let parse_with todo file =
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue