Clean up indentation and whitespace inconsistencies in ecpg. ecpg's lexer and parser files aren't normally processed by pgindent, and unsurprisingly there's a lot of code in there that doesn't really match project style. I spent some time running pgindent over the fragments of these files that are C code, and this is the result. This is in the same spirit as commit 30ed71e42, though apparently Peter used a different method for that one, since it didn't find these problems. Discussion: https://postgr.es/m/2011420.1713493114@sss.pgh.pa.us Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/97add39c038bbdb9082b416ddf04cd20b0d20bf5 Modified Files -------------- src/interfaces/ecpg/preproc/ecpg.addons | 231 +- src/interfaces/ecpg/preproc/ecpg.header | 180 +- src/interfaces/ecpg/preproc/ecpg.trailer | 3566 +++++++++++++++++------------- src/interfaces/ecpg/preproc/pgc.l | 642 +++--- 4 files changed, 2608 insertions(+), 2011 deletions(-)
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера