Your message dated Wed, 10 Apr 2013 18:41:07 -0400
with message-id <[email protected]>
and subject line Close #691120: astyle: Might misinterpret do/while as while
has caused the Debian Bug report #691120,
regarding Might misinterpret do/while as while
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
691120: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=691120
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: astyle
Version: 2.01-1
Severity: normal

The following code is misinterpreted by astyle:

#include <stdio.h>

int main(int argc, char** argv)
{
        int i = 3;
        do {
                printf("hi\n");
        }
        /* this comment confuses astyle */
        while (i--);

        return 0;
}

Using "astyle --options=none --lineend=linux --style=1tbs", it
is changed into the invalid lines:

        do {
                printf("hi\n");
        }

        /* this comment confuses astyle */
        while (i--) {
                ;
        }

The bug is already fixed in the current upstream version.

--- End Message ---
--- Begin Message ---
Version: 2.02.1-1

Indeed, this bug has been fixed in astyle 2.02.1 that was uploaded to 
experimental on 2013-01-15.

Thanks for reporting,
  Matteo

Attachment: signature.asc
Description: This is a digitally signed message part.


--- End Message ---

Reply via email to