aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/out.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2011-01-30 16:05:37 +0000
committerIngo Schwarze <schwarze@openbsd.org>2011-01-30 16:05:37 +0000
commitb60f8021eeb3855308829414f20eca4897096fa7 (patch)
treefde633a186759120328c6e6ae9c0e5f2bd8fbe5a /out.h
parent739c1eaf9cb6f5ff01a9c080620dfb1542000215 (diff)
downloadmandoc-b60f8021eeb3855308829414f20eca4897096fa7.tar.gz
mandoc-b60f8021eeb3855308829414f20eca4897096fa7.tar.zst
mandoc-b60f8021eeb3855308829414f20eca4897096fa7.zip
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@ jmc@ and tested by Matthieu Herrb (matthieu at openbsd dot org)
Diffstat (limited to 'out.h')
-rw-r--r--out.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/out.h b/out.h
index f544b8e3..ebd70188 100644
--- a/out.h
+++ b/out.h
@@ -1,6 +1,6 @@
-/* $Id: out.h,v 1.15 2011/01/05 15:37:23 kristaps Exp $ */
+/* $Id: out.h,v 1.16 2011/01/30 16:05:37 schwarze Exp $ */
/*
- * Copyright (c) 2009 Kristaps Dzonsons <kristaps@bsd.lv>
+ * Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@@ -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 */