=================================================================== RCS file: /cvs/mandoc/Attic/macro.c,v retrieving revision 1.54 retrieving revision 1.56 diff -u -p -r1.54 -r1.56 --- mandoc/Attic/macro.c 2009/02/27 09:39:40 1.54 +++ mandoc/Attic/macro.c 2009/03/05 12:08:53 1.56 @@ -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); @@ -795,6 +800,8 @@ macro_text(MACRO_PROT_ARGS) mdoc_argv_free(argc, argv); return(0); } + + /* FIXME: .Fl and .Ar handling of `|'. */ if (ARGS_QWORD != w && mdoc_isdelim(p)) { if (0 == lastpunct && ! rewind_elem(mdoc, tok)) {