Skip to content
Snippets Groups Projects
Commit 93d8d0ee authored by Patrick Baudin's avatar Patrick Baudin Committed by Virgile Prevosto
Browse files

[wp] code annot names for -wp-prop option

parent efebd7ae
No related branches found
No related tags found
No related merge requests found
......@@ -420,7 +420,8 @@ let ident_names names =
| _ as n -> '\"' <> (String.get n 0) ) names
let code_annot_names ca = match ca.annot_content with
| AAssert (_, _, named_pred) -> "@assert"::(ident_names named_pred.pred_name)
| AAssert (_, Check, named_pred) -> "@check"::(ident_names named_pred.pred_name)
| AAssert (_, Assert, named_pred) -> "@assert"::(ident_names named_pred.pred_name)
| AInvariant (_,_,named_pred) -> "@invariant"::(ident_names named_pred.pred_name)
| AVariant (term, _) -> "@variant"::(ident_names term.term_name)
| AExtended(_,_,(_,name,_,_,_)) -> [Printf.sprintf "@%s" name]
......
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