Andrew Dunstan <andrew@dunslane.net> writes:
> On 2023-04-28 Fr 14:08, Bruce Momjian wrote:
>> Can those comments be added by a preprocessor before calling perltidy,
>> and then removed on completion?
> I imagine so, but we'd need a way of determining algorithmically which
> lines to protect. That might not be at all simple. And then we'd have
> the maintenance burden of the preprocessor.
Yeah, it's hard to see how you'd do that without writing a full Perl
parser.
regards, tom lane