Re: WIP pgindent replacement

Andrew Dunstan <andrew@dunslane.net>

From: Andrew Dunstan <andrew@dunslane.net>
To: David Christensen <david@endpoint.com>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2011-06-22T12:35:56Z
Lists: pgsql-hackers

On 06/22/2011 02:03 AM, David Christensen wrote:
>> 	# Avoid bug that converts 'x =- 1' to 'x = -1'
>>      $source =~ s!=- !-= !g;
>
> I haven't looked at the shell script this replaces, but is that the correct substitution pattern?  (BTW, I'm not seeing the token =- anywhere except in the Makefile, which wouldn't be run against, no?  Am I missing something?)
>
>


It's exactly what the current script does. The reason you don't see this 
anywhere is that previous pgindent runs have removed it. We don't undo 
the transformation. But maybe we should just get rid of it.

cheers

andrew