aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/gmdiff
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2018-10-23 20:42:37 +0000
committerIngo Schwarze <schwarze@openbsd.org>2018-10-23 20:42:37 +0000
commita93cab0159f106fce2adae204f5e9a1011800296 (patch)
treeba97ea7b9e83430d7aedfd289cdc667a6649393d /gmdiff
parentdec80745ea3f5d059dbf60680136a44f3096b59e (diff)
downloadmandoc-a93cab0159f106fce2adae204f5e9a1011800296.tar.gz
mandoc-a93cab0159f106fce2adae204f5e9a1011800296.zip
The ctags(1) file format uses whitespace as a field delimiter, and
there is no escaping mechanism, so tags cannot contain whitespace. Consequently, we used to simply not tag macro arguments containing space characters. Instead, let's tag the first word, unless there is a proper match for that word somewhere else. For example, this makes ":tquery" work in ntpd.conf(5). Feature suggested by kn@, who also thinks the implementation looks reasonable and works in his testing.
Diffstat (limited to 'gmdiff')
0 files changed, 0 insertions, 0 deletions