You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used headache on my project but it seems to remove some lines. Let see a MRE:
The header:
foo foo
The OCaml file:
(**************************************************************************)
(* foo *)
(**************************************************************************)
open Format
(* foo *)
The expected result with the command headache -h header.txt source.ml:
(**************************************************************************)
(* foo foo *)
(**************************************************************************)
open Format
(* foo *)
Thanks for the report. Indeed, I'm afraid this is a "known issue" in the code that we never had the time to look at, and since we only use headache in very specific cases, and we work around it, there is currently not much effort to direct at fixing it.
If you are interested and you believe you might fix it, we'd be glad to integrate it!
Otherwise, the least we could do is mention it directly in the README, just after the code example using -h:
WARNING: leave an empty line after the header, otherwise headache will erase it!
I used headache on my project but it seems to remove some lines. Let see a MRE:
The header:
The OCaml file:
The expected result with the command
headache -h header.txt source.ml
:The actual result:
The text was updated successfully, but these errors were encountered: