On 5/10/23 17:08, Eric Blake wrote:
On Wed, May 10, 2023 at 01:48:10PM +0200, Laszlo Ersek wrote:
> Add the "pr_wrap_c_comment" function, for wrapping C comments.
>
> Bugzilla:
https://bugzilla.redhat.com/show_bug.cgi?id=2172516
> Signed-off-by: Laszlo Ersek <lersek(a)redhat.com>
> ---
> generator/utils.mli | 1 +
> generator/utils.ml | 87 ++++++++++++++++++++
> 2 files changed, 88 insertions(+)
>
> +++ b/generator/utils.ml
> +
> + (* Format the comment into a buffer, and append a space character, for forcing
> + * a nonspace -> space transiton at the end of the comment, provided the
transition
D'oh...
Otherwise, well-commented, and looks like it meets the intent.
Reviewed-by: Eric Blake <eblake(a)redhat.com>
Thanks!
Laszlo