Re: Confused about gram.y referencs in Makefile?

Daniel Gustafsson <daniel@yesql.se>

From: Daniel Gustafsson <daniel@yesql.se>
To: Japin Li <japinli@hotmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, "pgsql-hackers@lists.postgresql.org" <pgsql-hackers@lists.postgresql.org>
Date: 2023-09-25T07:29:16Z
Lists: pgsql-hackers
> On 25 Sep 2023, at 05:34, Japin Li <japinli@hotmail.com> wrote:

> Maybe be reference src/backend/parser/Makefile is better than current.
> 
> How about "See gram.h target's comment in src/backend/parser/Makefile"
> or just "See src/backend/parser/Makefile"?

The latter seems more stable, if the Makefile is ever restructured it's almost
guaranteed that this comment will be missed with the location info becoming
stale.

--
Daniel Gustafsson




Commits

  1. Doc: improve cross-reference in Makefile comment.