=================================================================== RCS file: /cvs/mandoc/Attic/action.c,v retrieving revision 1.34 retrieving revision 1.39 diff -u -p -r1.34 -r1.39 --- mandoc/Attic/action.c 2009/03/08 12:40:27 1.34 +++ mandoc/Attic/action.c 2009/03/09 14:19:59 1.39 @@ -1,4 +1,4 @@ -/* $Id: action.c,v 1.34 2009/03/08 12:40:27 kristaps Exp $ */ +/* $Id: action.c,v 1.39 2009/03/09 14:19:59 kristaps Exp $ */ /* * Copyright (c) 2008 Kristaps Dzonsons * @@ -23,7 +23,6 @@ #include #include #include -#include #include "private.h" @@ -171,6 +170,10 @@ const struct actions mdoc_actions[MDOC_MAX] = { { NULL }, /* Fr */ { NULL }, /* Ud */ { NULL }, /* Lb */ + { NULL }, /* Ap */ + { NULL }, /* Lp */ + { NULL }, /* Lk */ + { NULL }, /* Mt */ }; @@ -241,10 +244,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); }