diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2018-02-23 18:24:42 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2018-02-23 18:24:42 +0000 |
commit | 7ce1523c24557571aa4ccf212c4115965cd6b6b4 (patch) | |
tree | a736cd4360cbb4589265be536b87bf5eeafbc027 /regress/usr.bin | |
parent | efd12528daec501da8570788deb6070f90692f96 (diff) |
Logically, the following are are type names - just like .Vt,
some of them with an optional variable name following:
- .Ft
- .Fa in the SYNOPSIS
- .Fn second and later arguments in the SYNOPSIS
So add these to the .Vt macro table in the mandoc.db(5) database.
During my LibreSSL work, i'm getting really tired of typing
$ man -k Vt,Ft,Fa=some_type_name
over and over again; now, this becomes just:
$ man -k Vt=some_type_name
Diffstat (limited to 'regress/usr.bin')
-rw-r--r-- | regress/usr.bin/mandoc/db/out/fn.dout | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/regress/usr.bin/mandoc/db/out/fn.dout b/regress/usr.bin/mandoc/db/out/fn.dout index d7048d7dc29..2d6732bd217 100644 --- a/regress/usr.bin/mandoc/db/out/fn.dout +++ b/regress/usr.bin/mandoc/db/out/fn.dout @@ -1,7 +1,7 @@ initial magic 0x3a7d0cdb version 0x00000001 macros offset 0x00000078 -end offset 0x0000022c +end offset 0x0000028c page count 1 === PAGES === page name # [f]fn # [1t]Fn # [s]fn_func # [s]fo_name @@ -57,7 +57,13 @@ macro 30 entry count 0 macro 31 entry count 0 macro 32 entry count 0 macro 33 entry count 0 -macro 34 entry count 0 +macro 34 entry count 4 +=== MACRO 34 === +macro 34 # fn_arg # fn +macro 34 # fn_type # fn +macro 34 # fo_arg # fn +macro 34 # fo_type # fn +=== END OF MACRO 34 === macro 35 entry count 0 === END OF MACROS === final magic 0x3a7d0cdb |