summaryrefslogtreecommitdiffstatshomepage
path: root/roff.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2008-12-10 16:03:12 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2008-12-10 16:03:12 +0000
commit0352e599c3efdcd2b079643546cf8856b88470f4 (patch)
tree1320baf7c7420e746d21523767bd025bab408670 /roff.c
parent2092e120e6e99996bd1caa917fa8e139e33f81ec (diff)
downloadmandoc-0352e599c3efdcd2b079643546cf8856b88470f4.tar.gz
mandoc-0352e599c3efdcd2b079643546cf8856b88470f4.tar.zst
mandoc-0352e599c3efdcd2b079643546cf8856b88470f4.zip
Ready for looking over by people.
Diffstat (limited to 'roff.c')
-rw-r--r--roff.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/roff.c b/roff.c
index 5243fe71..b2ac8e38 100644
--- a/roff.c
+++ b/roff.c
@@ -1,4 +1,4 @@
-/* $Id: roff.c,v 1.62 2008/12/10 13:41:59 kristaps Exp $ */
+/* $Id: roff.c,v 1.63 2008/12/10 16:03:12 kristaps Exp $ */
/*
* Copyright (c) 2008 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -1181,7 +1181,7 @@ roff_layout(ROFFCALL_ARGS)
assert( ! (ROFF_CALLABLE & tokens[tok].flags));
- if ( ! ROFFSec_NAME & tree->asec)
+ if ( ! (ROFFSec_PR_Os & tree->asec))
return(roff_errp(tree, *argv, tok, ERR_NOT_PR));
if (ROFF_EXIT == type) {
@@ -1349,7 +1349,7 @@ roff_ordered(ROFFCALL_ARGS)
* .Xr arg1 arg2 punctuation
*/
- if ( ! ROFFSec_NAME & tree->asec)
+ if ( ! (ROFFSec_PR_Os & tree->asec))
return(roff_errp(tree, *argv, tok, ERR_NOT_PR));
first = (*argv == tree->cur);
@@ -1421,7 +1421,7 @@ roff_text(ROFFCALL_ARGS)
* <fl> v W f </fl> ;
*/
- if ( ! ROFFSec_NAME & tree->asec)
+ if ( ! (ROFFSec_PR_Os & tree->asec))
return(roff_errp(tree, *argv, tok, ERR_NOT_PR));
first = (*argv == tree->cur);