[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-indent] Bug#227863: indent: '-brs' has side-effect (fwd)
From: |
Santiago Vila |
Subject: |
[Bug-indent] Bug#227863: indent: '-brs' has side-effect (fwd) |
Date: |
Thu, 15 Jan 2004 20:53:50 +0100 (CET) |
Hello.
I received this from thre Debian bug system.
[ Please keep the Cc: lines when replying. Thanks ].
---------- Forwarded message ----------
From: dr. Danko Miklos <address@hidden>
To: Debian Bug Tracking System <address@hidden>
Date: Thu, 15 Jan 2004 11:24:41 +0100
Subject: Bug#227863: indent: '-brs' has side-effect
Package: indent
Version: 2.2.9-5
Severity: normal
I tried option '-brs' on this:
-------------------------
struct teszt_s
{
int teszt;
}
teszt_t;
-------------------------
and resulted this:
-------------------------
struct teszt_s {
int teszt;
} teszt_t;
-------------------------
Putting teszt_t in the line of '}' is clearly a side effect, which is
not described in the documentation. However option '-bls' does not have
the reverse side effect, it simply does not touch that line. This means
that one of these options is buggy. I vote that '-brs' is the buggy one.
I think it would be better solution to have another option for this then
to include this side-effect in '-bls'.
Thanks,
Miklos Danko, M.D.
mailto:address@hidden (Hungary)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug-indent] Bug#227863: indent: '-brs' has side-effect (fwd),
Santiago Vila <=