Andrew Dunstan <andrew@dunslane.net> writes:
> On 04/25/2011 07:00 PM, Tom Lane wrote:
>> Andrew Dunstan<andrew@dunslane.net> writes:
>>> and filter the typedefs list so that we only use the ones
>>> that appear in each file with that file, instead of passing the whole
>>> list to each file.
>> Not sure I gather the value of doing that.
> Well, that way you'll have a handful of -Ttypdef parameters for each
> invocation of indent instead of a gazillion of them. No more command
> line length issues.
Well, -Ttypedef is wrong on its face. Right would be a switch
specifying the name of the file to read the typedef list from.
Then you don't need massive script-level infrastructure to try
to spoonfeed that data to the program doing the work.
regards, tom lane