Add the \) special character, a variant of \& so arcane that i
authorschwarze <schwarze@openbsd.org>
Sun, 19 Aug 2018 23:47:43 +0000 (23:47 +0000)
committerschwarze <schwarze@openbsd.org>
Sun, 19 Aug 2018 23:47:43 +0000 (23:47 +0000)
intentionally leave it undocumented.  Abused for example in the
groff(7) manual page.

usr.bin/mandoc/chars.c

index 403f545..d6f5f78 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: chars.c,v 1.43 2017/08/23 13:01:22 schwarze Exp $ */
+/*     $OpenBSD: chars.c,v 1.44 2018/08/19 23:47:43 schwarze Exp $ */
 /*
  * Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
  * Copyright (c) 2011, 2014, 2015, 2017 Ingo Schwarze <schwarze@openbsd.org>
@@ -48,6 +48,7 @@ static struct ln lines[] = {
        { "|",                  "",             0       },
        { "^",                  "",             0       },
        { "&",                  "",             0       },
+       { ")",                  "",             0       },
        { "%",                  "",             0       },
        { ":",                  ascii_break,    0       },
        /* XXX The following three do not really belong here. */