bug-indent
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-indent] indent changes: request for comments.


From: david ingamells
Subject: [Bug-indent] indent changes: request for comments.
Date: Tue, 18 Jun 2002 20:12:29 +0200

I am looking at a couple of layout changes that have been reported/requested.

The first is with the -bfda option which currently does this:
-----------------------
int function(int a,
                   int b,
                   int c);
------------------------

The proposal is that it should do this:
------------------------
int function(
    int a,
    int b,
    int c);
------------------------------

The second is with structure braces where the following layout is currently 
produced:
-----------------------------
struct
{
    int x;
}
my_struct_var;

typedef struct
{
   int x;
} 
my_struct_type;
-------------------------------
where I feel that the following should be done:
-----------------------------
struct
{
    int x;
} my_struct_var;

typedef struct
{
   int x;
} my_struct_type;
-------------------------------
For both of these, I feel that the current behaviour is not desired and that 
my proposed behaviour does not require new options. If anyone wants the 
current behaviour to be preserved and the changes only activated by new 
options then please speak up by replying to address@hidden

-- 
David Ingamells



reply via email to

[Prev in Thread] Current Thread [Next in Thread]