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