Re: make_ctags: use -I option to ignore pg_node_attr macro

Tatsuo Ishii <ishii@sraoss.co.jp>

From: Tatsuo Ishii <ishii@sraoss.co.jp>
To: nagata@sraoss.co.jp
Cc: alvherre@alvh.no-ip.org, pgsql-hackers@postgresql.org
Date: 2022-10-19T09:11:13Z
Lists: pgsql-hackers
> By the way, after executing both make_etags and make_ctags, trying tag jump
> in my vim causes the following error even though there are correct tags files.
> 
>  E431: Format error in tags file "backend/access/heap/TAGS"
> 
> Removing all TAGS files as below can resolve this error.
>  $ find . -name TAGS | xargs rm
> 
> So, should we have one more option of make_{ce}tags script to clean up
> existing tags/TAGS files?

Not sure. Before the commit make_ctags did not do such a thing but we
never heard any complain like yours. Also I believe vi/vim users never
invoke make_etags (same thing can be said to emacs users). So why
should we bother?

Best reagards,
--
Tatsuo Ishii
SRA OSS LLC
English: http://www.sraoss.co.jp/index_en/
Japanese:http://www.sraoss.co.jp



Commits

  1. Fix make_etags breakage on certain platforms.

  2. Fix make_etags failure on Mac.

  3. Enhance make_ctags and make_etags.