]> git.cameronkatri.com Git - mandoc.git/blobdiff - roff.c
Support the ".if v" conditional operator (vroff mode, always false)
[mandoc.git] / roff.c
diff --git a/roff.c b/roff.c
index f2ee39a3e9ea6cad1692f39275a030b86540291d..f44f01f1b033c746fee10e204c26c904b8f731df 100644 (file)
--- a/roff.c
+++ b/roff.c
@@ -1,4 +1,4 @@
-/*     $Id: roff.c,v 1.238 2014/11/01 06:03:13 schwarze Exp $ */
+/*     $Id: roff.c,v 1.239 2014/11/19 01:20:25 schwarze Exp $ */
 /*
  * Copyright (c) 2010, 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv>
  * Copyright (c) 2010-2014 Ingo Schwarze <schwarze@openbsd.org>
@@ -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: