diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2014-09-21 10:18:04 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2014-09-21 10:18:04 -0700 |
commit | 674f76e3df365a6768c485590acc95233d49f139 (patch) | |
tree | ed8201c66718fd87b68e8e392eb6746237f8df38 /man2html/strdefs.c | |
parent | 8fc23fa9a525dd4025b9adf4c2b1fbe7bf6755bf (diff) | |
download | man-674f76e3df365a6768c485590acc95233d49f139.tar.gz man-674f76e3df365a6768c485590acc95233d49f139.tar.bz2 man-674f76e3df365a6768c485590acc95233d49f139.zip |
Implement .f register.
Diffstat (limited to 'man2html/strdefs.c')
-rw-r--r-- | man2html/strdefs.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/man2html/strdefs.c b/man2html/strdefs.c index 361080a..a43b441 100644 --- a/man2html/strdefs.c +++ b/man2html/strdefs.c @@ -11,7 +11,7 @@ int nroff = 0; #define TROFF (-667) STRDEF *chardef, *strdef, *defdef; -INTDEF *intdef, *nargdef; +INTDEF *intdef, *nargdef, *curfdef; static INTDEF standardint[] = { { V('n',' '), NROFF, 0, NULL }, @@ -20,6 +20,7 @@ static INTDEF standardint[] = { { V('e',' '), 0, 0, NULL }, { V('.','l'), 70, 0, NULL }, { V('.','$'), 0, 0, NULL }, + { V('.','f'), 0, 0, NULL }, { V('.','A'), NROFF, 0, NULL }, { V('.','T'), TROFF, 0, NULL }, { V('.','V'), 1, 0, NULL }, /* the me package tests for this */ @@ -172,6 +173,8 @@ void stdinit(void) { if (intdef->nr == TROFF) intdef->nr = !nroff; if (intdef->nr == V('.','$')) nargdef = intdef; + if (intdef->nr == V('.','f')) + curfdef = intdef; intdef->next = &standardint[i]; intdef = intdef->next; i++; |