qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v2] scripts: add script to convert multiline com


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH v2] scripts: add script to convert multiline comments into 4-line format
Date: Fri, 14 Dec 2018 19:15:40 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.1

On 14/12/18 19:06, Wainer dos Santos Moschetta wrote:
> 
> IIUC above block handles the lines between lead and trail. So it would
> fix (but it doesn't) this:
> 
> # cat foo
> /*
>  comment 1
>  comment 2
>  */
> 
> # scripts/fix-multiline-comments.sh foo
> /*
>  comment 1
>  comment 2
>  */

Not enough spaces :)  It would fix

 /*
    comment 1
    comment 2
  */

or what is actually found in QEMU:

   /* comment 1
      comment 2 */

Thanks,

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]