=================================================================== RCS file: /cvs/mandoc/Attic/action.c,v retrieving revision 1.34 retrieving revision 1.38 diff -u -p -r1.34 -r1.38 --- mandoc/Attic/action.c 2009/03/08 12:40:27 1.34 +++ mandoc/Attic/action.c 2009/03/09 13:17:49 1.38 @@ -1,4 +1,4 @@ -/* $Id: action.c,v 1.34 2009/03/08 12:40:27 kristaps Exp $ */ +/* $Id: action.c,v 1.38 2009/03/09 13:17:49 kristaps Exp $ */ /* * Copyright (c) 2008 Kristaps Dzonsons * @@ -23,7 +23,6 @@ #include #include #include -#include #include "private.h" @@ -171,6 +170,8 @@ const struct actions mdoc_actions[MDOC_MAX] = { { NULL }, /* Fr */ { NULL }, /* Ud */ { NULL }, /* Lb */ + { NULL }, /* Ap */ + { NULL }, /* Lp */ }; @@ -241,10 +242,8 @@ post_ex(struct mdoc *mdoc) mdoc_argnames[MDOC_Std], mdoc->meta.name); - assert(1 == mdoc->last->args->argv[0].sz); - - mdoc->last->args->argv[0].sz = 1; mdoc->last->args->argv[0].value = xcalloc(1, sizeof(char *)); + mdoc->last->args->argv[0].sz = 1; mdoc->last->args->argv[0].value[0] = xstrdup(mdoc->meta.name); return(1); }