From c87043915bcfdce2b8ed90750a5f5ed2ee987535 Mon Sep 17 00:00:00 2001 From: jkh Date: Fri, 18 Apr 1997 23:36:52 +0000 Subject: Enable GLOBAL tags support for nvi. Submitted-By: Shigio Yamaguchi --- contrib/nvi/common/options.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'contrib/nvi/common/options.c') diff --git a/contrib/nvi/common/options.c b/contrib/nvi/common/options.c index 4d4f768..fe310fc 100644 --- a/contrib/nvi/common/options.c +++ b/contrib/nvi/common/options.c @@ -80,6 +80,10 @@ OPTLIST const optlist[] = { {"filec", NULL, OPT_STR, 0}, /* O_FLASH HPUX */ {"flash", NULL, OPT_1BOOL, 0}, +#ifdef GTAGS +/* O_GTAGSMODE FreeBSD2.2 */ + {"gtagsmode", NULL, OPT_0BOOL, 0}, +#endif /* O_HARDTABS 4BSD */ {"hardtabs", NULL, OPT_NUM, 0}, /* O_ICLOWER 4.4BSD */ @@ -244,6 +248,9 @@ static OABBREV const abbrev[] = { {"eb", O_ERRORBELLS}, /* 4BSD */ {"ed", O_EDCOMPATIBLE}, /* 4BSD */ {"ex", O_EXRC}, /* System V (undocumented) */ +#ifdef GTAGS + {"gt", O_GTAGSMODE}, /* FreeBSD2.2 */ +#endif {"ht", O_HARDTABS}, /* 4BSD */ {"ic", O_IGNORECASE}, /* 4BSD */ {"li", O_LINES}, /* 4.4BSD */ -- cgit v1.1