summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--roff.74
-rw-r--r--roff.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/roff.7 b/roff.7
index 30568620..6998a133 100644
--- a/roff.7
+++ b/roff.7
@@ -747,9 +747,11 @@ If the first character of COND is
.Pq even page ,
.Sq r
.Pq register accessed ,
-or
.Sq t
.Pq troff mode ,
+or
+.Sq v
+.Pq vroff mode ,
COND evaluates to false.
.It
If COND starts with a parenthesis or with an optionally signed
diff --git a/roff.c b/roff.c
index 7489a2db..08a4f922 100644
--- a/roff.c
+++ b/roff.c
@@ -1272,6 +1272,8 @@ roff_evalcond(struct roff *r, int ln, const char *v, int *pos)
case 'r':
/* FALLTHROUGH */
case 't':
+ /* FALLTHROUGH */
+ case 'v':
(*pos)++;
return(!wanttrue);
default: