Skip to content

Commit e9fc8bd

Browse files
committed
Fix YamlWitness indentation
1 parent 0efac22 commit e9fc8bd

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

src/witness/yamlWitness.ml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -46,19 +46,19 @@ struct
4646
let yaml_task = `O ([
4747
("input_files", `A (List.map Yaml.Util.string files));
4848
("input_file_hashes", `O (List.map (fun file ->
49-
(file, `String (sha256_file file))
50-
) files));
49+
(file, `String (sha256_file file))
50+
) files));
5151
("data_model", `String (match GobConfig.get_string "exp.architecture" with
52-
| "64bit" -> "LP64"
53-
| "32bit" -> "ILP32"
54-
| _ -> failwith "invalid architecture"));
52+
| "64bit" -> "LP64"
53+
| "32bit" -> "ILP32"
54+
| _ -> failwith "invalid architecture"));
5555
("language", `String "C");
5656
] @ match !Svcomp.task with
57-
| Some (module Task) -> [
58-
("specification", `String (Svcomp.Specification.to_string Task.specification))
59-
]
60-
| None ->
61-
[]
57+
| Some (module Task) -> [
58+
("specification", `String (Svcomp.Specification.to_string Task.specification))
59+
]
60+
| None ->
61+
[]
6262
)
6363
in
6464

@@ -68,12 +68,12 @@ struct
6868
match n with
6969
| Statement _ when WitnessInvariant.is_invariant_node n ->
7070
let context: Invariant.context = {
71-
scope=Node.find_fundec n;
72-
i = -1;
73-
lval=None;
74-
offset=Cil.NoOffset;
75-
deref_invariant=(fun _ _ _ -> Invariant.none) (* TODO: should throw instead? *)
76-
}
71+
scope=Node.find_fundec n;
72+
i = -1;
73+
lval=None;
74+
offset=Cil.NoOffset;
75+
deref_invariant=(fun _ _ _ -> Invariant.none) (* TODO: should throw instead? *)
76+
}
7777
in
7878
begin match Spec.D.invariant context local with
7979
| Some inv ->

0 commit comments

Comments
 (0)