The attached patch introduces a new enviroment
variable called 'CSCOPE_SUFFIXES' which the user can
use to specify additional suffixes that should be
recognized as source files. I've provided diffs for
global.h, main.c, dir.c and cscope.1
I don't think doing this exclusively through an environment
variable is the right plan. This really should be a
command-line option, too. It may even make better sense to
drop the environment variable completely and keep only the flag.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Diffs for main.c, globals.h, dir.c and cscope.1
Logged In: YES
user_id=27517
I don't think doing this exclusively through an environment
variable is the right plan. This really should be a
command-line option, too. It may even make better sense to
drop the environment variable completely and keep only the flag.