summaryrefslogtreecommitdiff
path: root/parse.c
AgeCommit message (Collapse)Author
2020-05-16Silence -Wimplicit-fallthrough warnings in pg_bsd_indent.Tom Lane
Since the recommended build method uses Postgres' preferred CFLAGS, and those now include -Wimplicit-fallthrough, we now see these warnings where we did not before. Michael Paquier Discussion: https://postgr.es/m/20200515060318.GB79590@paquier.xyz
2017-06-20Adjust #include's to build in Postgres rather than FreeBSD environment.Tom Lane
Remove '#include <sys/cdefs.h>', which will fail in many non-BSD environments, as well as the __FBSDID() FreeBSD-ism. Replace them with '#include "c.h"', which will allow use of the Postgres project's portability infrastructure. This is intended to be a permanent diff between the FreeBSD upstream files and our copy.
2017-06-20Import current development version of FreeBSD indent.Tom Lane
This commit copies Piotr Stefaniak's development repo https://github.com/pstef/freebsd_indent as of commit 5d3b621cd54de672983c51d9622dee84d458dd83 (2017-06-18). But I've omitted Makefile and Makefile.depend, as they are of no use in non-BSD build environments.