build: Add diagnostics/ to TAGS
The build system now includes the diagnostics/ directory when generating TAGS files for Emacs.
The build system now includes the diagnostics/ directory (and text-art/) when generating TAGS files. This allows Emacs’ find-tag to locate function definitions within those directories, improving navigation for developers using Emacs.
In Details
This is a build system change that modifies Makefile.in to include diagnostics/ and text-art/ in the TAGS file generation. The TAGS file is used by Emacs' find-tag to locate function definitions within the GCC source code.
For Context
This commit modifies the GCC build process to improve integration with the Emacs editor. Emacs can use "TAGS" files to quickly jump to the definition of functions and other symbols within a large codebase. This change updates the build system to ensure that the diagnostics/ directory containing GCC's diagnostic message code is included when generating the TAGS file, making it easier for developers using Emacs to navigate this part of the codebase.