CVSROOT: /cvs Module name: src Changes by: schwa...@cvs.openbsd.org 2018/10/23 14:41:59
Modified files: usr.bin/mandoc : tag.c Log message: 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.