--- /indent/regression ---


Filename: TEST
Revision 1.16carlo 2000/01/16 15:21:39+2 -1
Date: Thu, 16 Dec 1999 10:43:45 -0500 (EST)
From: Pavel Roskin <pavel_roskin@geocities.com>
Subject: Strange declaration alignment in C++

...
I have noticed that indent formats variable declarations quite differently
in C functions and C++ methods. If the function name doesn't contain two
colons, the variable names are placed on the same line and their types.
...

int
qs ()
{
int i;
}

int
q::s ()
{
int
i;
}

Date: Fri, 17 Dec 1999 12:33:34 -0500 (EST)
From: Pavel Roskin <pavel_roskin@geocities.com>
Subject: Strange declaration alignment in C++ - solved!

The attached patch fixes the problem with variables in C++ methods.
dumpline() used to compare "s_code_corresponds_to" with
"parser_state_tos->procname"
Revision 1.15carlo 1999/12/31 15:52:50+5 -1
Don't join procedure declaration lines that ends on a '('
when followed by a comment when --dont-break-procedure-type is used.
Ie: int func( // became int func( // char* c)
char* c) { }
{ }
Revision 1.14carlo 1999/11/12 12:35:44+7 -1
Added regression tests for the last two -br related bugs.

Filename: case.c
Revision 1.1carlo 1999/11/12 12:35:44None
Added regression tests for the last two -br related bugs.

Filename: comment-break.c
Revision 1.1carlo 1999/12/31 15:52:50None
Don't join procedure declaration lines that ends on a '('
when followed by a comment when --dont-break-procedure-type is used.
Ie: int func( // became int func( // char* c)
char* c) { }
{ }

Filename: method.c
Revision 1.1carlo 2000/01/16 15:22:52None
Test case for bug reported by Pavel Roskin.

Filename: scope.c
Revision 1.1carlo 1999/11/12 12:35:44None
Added regression tests for the last two -br related bugs.


File made using version 1.52 of cvs2html by carlo at 100-01-16 16:47 and only showing data between revisions V2_2_4:HEAD.