Skip to content
Snippets Groups Projects
Commit 8f835658 authored by Julien Signoles's avatar Julien Signoles Committed by Zaynah Dargaye
Browse files

handle predicates \at in the same way than terms \at

parent b0d6eaac
No related branches found
No related tags found
No related merge requests found
......@@ -636,10 +636,22 @@ you must call function `%s' and `__e_acsl_memory_clean by yourself.@]"
(fun t ->
(match t.term_node with
| Tat(_, StmtLabel s_ref) ->
(* the label may have been moved,
so move the corresponding reference *)
s_ref := E_acsl_label.new_labeled_stmt !s_ref
| _ -> ());
t)
method !vpredicate _ =
Cil.DoChildrenPost
(function
| Pat(_, StmtLabel s_ref) as p ->
(* the label may have been moved,
so move the corresponding reference *)
s_ref := E_acsl_label.new_labeled_stmt !s_ref;
p
| p -> p);
initializer
Misc.reset ();
self#reset_env ();
......
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