summaryrefslogtreecommitdiffstatshomepage
path: root/term.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-03-12 16:30:50 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-03-12 16:30:50 +0000
commit073b729fad16967c5cb97cb3aa314b058e3de113 (patch)
tree7226a621aa8e2d22ab5af821cfdf34cc7b017ba9 /term.c
parent58ec1de730c493d7dac46e9e8c77b5551fcc8df3 (diff)
downloadmandoc-073b729fad16967c5cb97cb3aa314b058e3de113.tar.gz
mandoc-073b729fad16967c5cb97cb3aa314b058e3de113.tar.zst
mandoc-073b729fad16967c5cb97cb3aa314b058e3de113.zip
Added -nested (doesn't do anything).
Added .%C. .Cd is now callable. Added .Rv -std.
Diffstat (limited to 'term.c')
-rw-r--r--term.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/term.c b/term.c
index 3730968b..4ee182e9 100644
--- a/term.c
+++ b/term.c
@@ -1,4 +1,4 @@
-/* $Id: term.c,v 1.56 2009/03/12 15:55:11 kristaps Exp $ */
+/* $Id: term.c,v 1.57 2009/03/12 16:30:50 kristaps Exp $ */
/*
* Copyright (c) 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -295,6 +295,7 @@ const struct termact __termacts[MDOC_MAX] = {
{ termp_brq_pre, termp_brq_post }, /* Brq */
{ termp_brq_pre, termp_brq_post }, /* Bro */
{ NULL, NULL }, /* Brc */
+ { NULL, NULL }, /* %C */
};
const struct termact *termacts = __termacts;
@@ -838,6 +839,7 @@ termp_rv_pre(DECL_ARGS)
p->flags |= ttypes[TTYPE_FUNC_NAME];
word(p, *node->args->argv[i].value);
p->flags &= ~ttypes[TTYPE_FUNC_NAME];
+ p->flags |= TERMP_NOSPACE;
word(p, "() function returns the value 0 if successful;");
word(p, "otherwise the value -1 is returned and the");