=================================================================== RCS file: /cvs/mandoc/Attic/action.c,v retrieving revision 1.34 retrieving revision 1.37 diff -u -p -r1.34 -r1.37 --- mandoc/Attic/action.c 2009/03/08 12:40:27 1.34 +++ mandoc/Attic/action.c 2009/03/08 20:57:35 1.37 @@ -1,4 +1,4 @@ -/* $Id: action.c,v 1.34 2009/03/08 12:40:27 kristaps Exp $ */ +/* $Id: action.c,v 1.37 2009/03/08 20:57:35 kristaps Exp $ */ /* * Copyright (c) 2008 Kristaps Dzonsons * @@ -171,6 +171,8 @@ const struct actions mdoc_actions[MDOC_MAX] = { { NULL }, /* Fr */ { NULL }, /* Ud */ { NULL }, /* Lb */ + { NULL }, /* Ap */ + { NULL }, /* Lp */ }; @@ -241,10 +243,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); }