X-Git-Url: https://git.cameronkatri.com/mandoc.git/blobdiff_plain/3cd681acae540f380510bee14cd2ef802fbf4706..6f9d9cf4d38fa9a821a61f50e3ee7caa2306cdb5:/macro.c diff --git a/macro.c b/macro.c index 673eec30..1f4642fd 100644 --- a/macro.c +++ b/macro.c @@ -1,4 +1,4 @@ -/* $Id: macro.c,v 1.54 2009/02/27 09:39:40 kristaps Exp $ */ +/* $Id: macro.c,v 1.56 2009/03/05 12:08:53 kristaps Exp $ */ /* * Copyright (c) 2008 Kristaps Dzonsons * @@ -31,6 +31,11 @@ * macro. */ +/* + * FIXME: don't use static mdoc_argv values, as they require us to do a + * complicated copy-over when actually assigning them to dynamic memory. + */ + #include "private.h" static int macro_obsolete(MACRO_PROT_ARGS); @@ -796,6 +801,8 @@ macro_text(MACRO_PROT_ARGS) return(0); } + /* FIXME: .Fl and .Ar handling of `|'. */ + if (ARGS_QWORD != w && mdoc_isdelim(p)) { if (0 == lastpunct && ! rewind_elem(mdoc, tok)) { mdoc_argv_free(argc, argv);