diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-06-25 17:43:45 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-06-25 17:43:45 +0000 |
commit | 1fdb4db7a387f66dbf9fc6b0869d19dfe765a5aa (patch) | |
tree | 78c84c03a6f5831ed6c6f758e4b370367dba22af /read.c | |
parent | 968237f527c0925ee4300f535b2efb1d2a9e783f (diff) | |
download | mandoc-1fdb4db7a387f66dbf9fc6b0869d19dfe765a5aa.tar.gz mandoc-1fdb4db7a387f66dbf9fc6b0869d19dfe765a5aa.tar.zst mandoc-1fdb4db7a387f66dbf9fc6b0869d19dfe765a5aa.zip |
Catch typos in .Sh names; suggested by jmc@.
I'm using a very simple, linear time / zero space fuzzy string
matching heuristic rather than a full Levenshtein metric, to keep
the code both simple and fast.
Diffstat (limited to 'read.c')
-rw-r--r-- | read.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: read.c,v 1.181 2017/06/24 18:58:33 schwarze Exp $ */ +/* $Id: read.c,v 1.182 2017/06/25 17:43:45 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2010-2017 Ingo Schwarze <schwarze@openbsd.org> @@ -98,6 +98,7 @@ static const char * const mandocerrs[MANDOCERR_MAX] = { "legacy man(7) date format", "duplicate RCS id", + "typo in section name", "useless macro", "consider using OS macro", "errnos out of order", |