Skip to content

Commit

Permalink
Print toplevel comments with Doxygen syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
msprotz committed Oct 13, 2022
1 parent d08eab2 commit 75708d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PrintC.ml
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ and p_stmt (s: stmt) =
and p_stmts stmts = separate_map hardline p_stmt stmts

let p_comments cs =
separate_map hardline (fun c -> string ("/*\n" ^ c ^ "\n*/")) cs ^^
separate_map hardline (fun c -> string ("/**\n" ^ c ^ "\n*/")) cs ^^
if List.length cs > 0 then hardline else empty

let p_microsoft_comments cs =
Expand Down

0 comments on commit 75708d5

Please sign in to comment.