Skip to content
Snippets Groups Projects
Commit e02997ec authored by Virgile Prevosto's avatar Virgile Prevosto
Browse files

Don't forget to add remarks over stub functions in the final document

parent ba13a79f
No related branches found
No related tags found
No related merge requests found
...@@ -102,12 +102,15 @@ let section_stubs env = ...@@ -102,12 +102,15 @@ let section_stubs env =
let kf = Globals.Functions.find_by_name s in let kf = Globals.Functions.find_by_name s in
let content = let content =
if env.is_draft then insert_marks if env.is_draft then insert_marks
else else begin
[ Block let comment = insert_remark env s in
[ Text Block
[Inline_code s; Plain "has the following specification"]; [ Text
codelines [Inline_code s; Plain "has the following specification"];
"acsl" Printer.pp_funspec (Annotations.funspec kf)]] codelines
"acsl" Printer.pp_funspec (Annotations.funspec kf)]
:: comment
end
in in
H4 ([Inline_code s], Some s) :: content) H4 ([Inline_code s], Some s) :: content)
l l
......
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