Re: [HACKERS] removal of braces
Bruce Momjian <maillist@candle.pha.pa.us>
From: Bruce Momjian <maillist@candle.pha.pa.us>
To: maillist@candle.pha.pa.us (Bruce Momjian)
Cc: hackers@postgreSQL.org
Date: 1998-06-15T20:55:17Z
Lists: pgsql-hackers
> > I have written a script to remove braces around single statements, if > the statement is only one line in length. > > The macro fixup context diff was 1,200 lines, and this diff is 12k > lines. > > Hope no one is sitting on patches. They had things like: if (test != 0) macro; while the macro was: #define macro() \ stmt1; \ stmt2; \ stmt3; Of course, only the stmt1 is conditional. The rest are always executed. I am sure there were some bugs fixed by this cleanup. -- Bruce Momjian | 830 Blythe Avenue maillist@candle.pha.pa.us | Drexel Hill, Pennsylvania 19026 + If your life is a hard drive, | (610) 353-9879(w) + Christ can be your backup. | (610) 853-3000(h)