diff options
author | 2012-07-07 18:27:36 +0000 | |
---|---|---|
committer | 2012-07-07 18:27:36 +0000 | |
commit | 1e6d02e216a36f44f1d23d204b1275a4cdf84371 (patch) | |
tree | 044a4ff560423c012c4202b423674d07476b57de /usr.bin/mandoc/mdoc.c | |
parent | reorder stuff so that known failing targets are last (diff) | |
download | wireguard-openbsd-1e6d02e216a36f44f1d23d204b1275a4cdf84371.tar.xz wireguard-openbsd-1e6d02e216a36f44f1d23d204b1275a4cdf84371.zip |
Support the .cc request; code by kristaps@, tests by me.
Needed for sqlite3(1) as reported by espie@.
Diffstat (limited to 'usr.bin/mandoc/mdoc.c')
-rw-r--r-- | usr.bin/mandoc/mdoc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mandoc/mdoc.c b/usr.bin/mandoc/mdoc.c index 1f812ed1042..afb8f496865 100644 --- a/usr.bin/mandoc/mdoc.c +++ b/usr.bin/mandoc/mdoc.c @@ -1,4 +1,4 @@ -/* $Id: mdoc.c,v 1.87 2012/05/24 23:33:23 schwarze Exp $ */ +/* $Id: mdoc.c,v 1.88 2012/07/07 18:27:36 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2010 Ingo Schwarze <schwarze@openbsd.org> @@ -298,7 +298,7 @@ mdoc_parseln(struct mdoc *m, int ln, char *buf, int offs) m->flags &= ~MDOC_SYNOPSIS; } - return(mandoc_getcontrol(buf, &offs) ? + return(roff_getcontrol(m->roff, buf, &offs) ? mdoc_pmacro(m, ln, buf, offs) : mdoc_ptext(m, ln, buf, offs)); } |