Bug#485764: Regression with --blank-lines-after-declarations in 2.2.10 (fwd)
Santiago Vila <[email protected]>
| Newsgroups | gmane.comp.gnu.indent.bugs |
|---|---|
| Message-ID | <[email protected]> |
Hello. I received this from the Debian bug system. ---------- Forwarded message ---------- From: "Sebastian [UTF-8] Dröge" <[email protected]> To: Debian Bug Tracking System <[email protected]> Date: Wed, 11 Jun 2008 11:24:23 +0200 Subject: Bug#485764: Regression with --blank-lines-after-declarations in 2.2.10 Package: indent Version: 2.2.10-1 Severity: important Hi, since 2.2.10 indent adds too many newlines when using --blank-lines-after-declarations. Sample code below gets a newline between the declarations of a and b added while this parameter should only add a newline after blocks of declarations, i.e. after the declaration of b. > int > main (int a, char ** b) > { > int a; > int b; > > return 0; > } Bye