Package: astyle
Version: 1.23-1
Severity: normal
Hello,
I have a bug with this kind of declaration in C++:
float
x1 = p_min.get_x(),
y1 = p_min.get_y(),
z1 = p_min.get_z(),
x2 = p_max.get_x(),
y2 = p_max.get_y(),
z2 = p_max.get_z(),
x_min, x_max, y_min,
y_max, z_min, z_max ;
Which is indented like this by astyle:
float
x1 = p_min.get_x(),
y1 = p_min.get_y(),
z1 = p_min.get_z(),
x2 = p_max.get_x(),
y2 = p_max.get_y(),
z2 = p_max.get_z(),
x_min, x_max, y_min,
y_max, z_min, z_max ;
I think this bug is related to a bug reported [1] in the astyle tracker.
This bug is fixed in astyle 1.24 which is out since the end of january.
So maybe you could backport a patch, but v1.24 [2] fixes a lot of bugs and
add some functionnalities, so an upgrade would be welcome.
[1]
http://sourceforge.net/tracker/?func=detail&aid=2935524&group_id=2319&atid=102319
[2] http://astyle.sourceforge.net/notes.html
Thank you,
Matteo
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (900, 'testing'), (800, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages astyle depends on:
ii libc6 2.10.2-2 GNU C Library: Shared libraries
ii libgcc1 1:4.4.2-9 GCC support library
ii libstdc++6 4.4.2-9 The GNU Standard C++ Library v3
astyle recommends no packages.
astyle suggests no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]