Skip to content
Snippets Groups Projects
Commit cc7c4a2d authored by Julien Signoles's avatar Julien Signoles
Browse files

[E-ACSL] update according to kernel's changes

parent 857f9f4f
No related branches found
No related tags found
No related merge requests found
......@@ -220,8 +220,7 @@ module rec Transfer
ignore (Visitor.visitFramacIdPredicate (register state_ref) pred);
!state_ref
in
let register_code_annot annot state =
let a = Annotations.code_annotation_of_rooted annot in
let register_code_annot a state =
let state_ref = ref state in
ignore (Visitor.visitFramacCodeAnnotation (register state_ref) a);
!state_ref
......
......@@ -333,7 +333,7 @@ class e_acsl_visitor prj generate = object (self)
in
let env, new_annots =
Annotations.fold_code_annot
(fun _ (User old_a | AI(_, old_a)) (env, new_annots) ->
(fun _ old_a (env, new_annots) ->
let a =
(* [VP] Don't use Visitor here, as it will fill the
queue in the middle of the computation... *)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment