Gurjeet Singh <singh(dot)gurjeet(at)gmail(dot)com> writes:
> The src/backend/parser/gram.c is a generated file, so shouldn't this be
> removed by `make distclean`, or maybe even by `make clean`?
No. It's shipped in distribution tarballs. If you want all derived
files to be removed, use make maintainer-clean.
regards, tom lane