summaryrefslogtreecommitdiffstats
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
commit67f090859d67cb9bbd3ad8b5c698ae7a1deacb41 (patch)
tree83850f43b1c2a5c3a40977de0263da988e53a8f6 /roff.c
parent0bc1f13021a450fc521bf86070429eaf338594e5 (diff)
downloadmandoc-67f090859d67cb9bbd3ad8b5c698ae7a1deacb41.tar.gz
Ready for looking over by people.
Diffstat (limited to 'roff.c')
-rw-r--r--roff.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/roff.c b/roff.c
index 218b362c..f8e734da 100644
--- a/roff.c
+++ b/roff.c
@@ -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);