ecpg: invent a saner syntax for ecpg.addons entries.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 14 Oct 2024 20:13:48 +0000 (16:13 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 14 Oct 2024 20:13:56 +0000 (16:13 -0400)
commitdbedc461b4e7a9cb4d6f5777174bdf180edb95fd
tree523a0ff0aec42ab66f5138f1248be8bd110fd83c
parent143e3a1ab8dfd4de507900e2e3a584db89155467
ecpg: invent a saner syntax for ecpg.addons entries.

Put the rule type at the start not the end, and put spaces
between the constitutent token names instead of smashing them
into an illegible mess.  This has no functional impact but
I think it makes the rules a great deal more readable.

Discussion: http://postgr.es/m/1185216.1724001216@sss.pgh.pa.us
src/interfaces/ecpg/preproc/README.parser
src/interfaces/ecpg/preproc/ecpg.addons
src/interfaces/ecpg/preproc/parse.pl