summaryrefslogtreecommitdiff
path: root/usr.bin/mandoc/out.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2011-01-30 16:05:30 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2011-01-30 16:05:30 +0000
commit3346ee504d87b690135176bebeecf513a150d2a5 (patch)
tree0cd93d66b729a045304560fe34aa9039541c79ba /usr.bin/mandoc/out.h
parent110382a22b114cad0f9431e25d6699be6f8b4f74 (diff)
Implement the \N'number' (numbered character) roff escape sequence.
Don't use it in new manuals, it is inherently non-portable, but we need it for backward-compatibility with existing manuals, for example in Xenocara driver pages. ok kristaps@ matthieu@ jmc@
Diffstat (limited to 'usr.bin/mandoc/out.h')
-rw-r--r--usr.bin/mandoc/out.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/mandoc/out.h b/usr.bin/mandoc/out.h
index bdf04e69fe9..de7021c7f37 100644
--- a/usr.bin/mandoc/out.h
+++ b/usr.bin/mandoc/out.h
@@ -1,4 +1,4 @@
-/* $Id: out.h,v 1.7 2011/01/09 14:30:48 schwarze Exp $ */
+/* $Id: out.h,v 1.8 2011/01/30 16:05:29 schwarze Exp $ */
/*
* Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -52,6 +52,7 @@ enum roffscale {
enum roffdeco {
DECO_NONE,
+ DECO_NUMBERED, /* numbered character */
DECO_SPECIAL, /* special character */
DECO_SSPECIAL, /* single-char special */
DECO_RESERVED, /* reserved word */