Hello.

A long time ago, I received the following report from the Debian bug system.

I've just checked and it still happens in indent 2.2.13 (which I plan to
upload for Debian unstable soon).

Note: There are a few more indent bugs here, already forwarded, it would be
wonderful if you could take a look at some of them before the next release:

https://bugs.debian.org/cgi-bin/pkgreport.cgi?src=indent

Thanks.

-------- Mensaje reenviado --------
Asunto: -sc -cdb misses that there are already asterisks in the comments
Fecha: Tue, 02 Aug 2016 14:03:57 +0200
De: Wouter Verhelst <wou...@debian.org>
Para: Debian Bug Tracking System <sub...@bugs.debian.org>

Package: indent
Version: 2.2.11-4
Severity: normal

Hi,

input:

int main(void) {
        /* Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras ut
         * sodales turpis, scelerisque auctor erat. In lobortis purus ac
         * fringilla ultricies. Vivamus ut odio a est convallis aliquet nec ac
         * sem. In posuere dolor a fermentum bibendum. Aliquam non massa sed
         * augue blandit ultricies nec id velit. Vestibulum fringilla mi vel
         * varius malesuada. Nunc vel libero et dui pharetra lobortis at eget
         * erat.*/
        return 0;
}

running indent -sc -cdb over that produces:

int
main (void)
{
  /*
   * Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras ut
   * * sodales turpis, scelerisque auctor erat. In lobortis purus ac
   * * fringilla ultricies. Vivamus ut odio a est convallis aliquet nec ac
   * * sem. In posuere dolor a fermentum bibendum. Aliquam non massa sed
   * * augue blandit ultricies nec id velit. Vestibulum fringilla mi vel
   * * varius malesuada. Nunc vel libero et dui pharetra lobortis at eget
   * * erat.
   */
  return 0;
}

the extra vertical line of asterisks here is obviously superfluous, and should
not appear.

[...]

Reply via email to