Package: astyle
Version: 2.01-1
Severity: normal

Dear Maintainer,

The manual page states:

> --min-conditional-indent=#, -m#
>        Indent  a  minimal  #  spaces  in a continuous conditional
>        belonging to a conditional header.  Must be less than 40.
>        The default value is twice the current indent.

And the program's --help states:

> --min-conditional-indent=#  OR  -m#
> Indent a minimal # spaces in a continuous conditional
> belonging to a conditional header.

However, the code handling this option expects a flag as a value
between 0 and 3, meaning minConditionalIndent=N*indent, where 3 means
0.5.

See astyle_main.cpp:2205:formatter.setMinConditionalIndentOption(minIndent)
and astyle.h:116:enum MinConditional
and ASBeautifier.cpp:439:ASBeautifier::setMinConditionalIndentLength()

Regards,
Colomban

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages astyle depends on:
ii  libc6       2.13-34
ii  libstdc++6  4.7.1-5

astyle recommends no packages.

astyle suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to