summaryrefslogtreecommitdiffstats
path: root/roff.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2008-12-07 14:38:57 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2008-12-07 14:38:57 +0000
commitd36e26f3c71aeedde9cd92250bb5d09348e58fe5 (patch)
tree1f11bf82cf642d9dbfacd581c5eed84dcc512367 /roff.c
parent390903639a9ead1a07e3f5ccee3a456031ac78d7 (diff)
downloadmandoc-d36e26f3c71aeedde9cd92250bb5d09348e58fe5.tar.gz
*** empty log message ***
Diffstat (limited to 'roff.c')
-rw-r--r--roff.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/roff.c b/roff.c
index ab0c0170..6c45e8be 100644
--- a/roff.c
+++ b/roff.c
@@ -653,15 +653,16 @@ roffspecial(struct rofftree *tree, int tok, const char *start,
return(0);
break;
+ case (ROFF_Rv):
+ /* FALLTHROUGH*/
case (ROFF_Sx):
/* FALLTHROUGH*/
case (ROFF_Ex):
- if (1 != sz) {
- roff_err(tree, start, "`%s' expects one arg",
- toknames[tok]);
- return(0);
- }
- break;
+ if (1 == sz)
+ break;
+ roff_err(tree, start, "`%s' expects one arg",
+ toknames[tok]);
+ return(0);
case (ROFF_Sm):
if (1 != sz) {