=================================================================== RCS file: /cvs/mandoc/Attic/action.c,v retrieving revision 1.41 retrieving revision 1.43 diff -u -p -r1.41 -r1.43 --- mandoc/Attic/action.c 2009/03/12 16:30:50 1.41 +++ mandoc/Attic/action.c 2009/03/16 23:37:28 1.43 @@ -1,6 +1,6 @@ -/* $Id: action.c,v 1.41 2009/03/12 16:30:50 kristaps Exp $ */ +/* $Id: action.c,v 1.43 2009/03/16 23:37:28 kristaps Exp $ */ /* - * Copyright (c) 2008 Kristaps Dzonsons + * Copyright (c) 2008, 2009 Kristaps Dzonsons * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the @@ -62,6 +62,9 @@ static int post_sh(struct mdoc *); static int post_std(struct mdoc *); static int post_prologue(struct mdoc *); +#define merr(m, t) nerr((m), (m)->last, (t)) +#define mwarn(m, t) nwarn((m), (m)->last, (t)) + const struct actions mdoc_actions[MDOC_MAX] = { { NULL }, /* \" */ { post_dd }, /* Dd */ @@ -178,10 +181,12 @@ const struct actions mdoc_actions[MDOC_MAX] = { { NULL }, /* Bro */ { NULL }, /* Brc */ { NULL }, /* %C */ + { NULL }, /* Es */ + { NULL }, /* En */ + { NULL }, /* Dx */ }; -#define merr(m, t) nerr((m), (m)->last, (t)) static int nerr(struct mdoc *m, const struct mdoc_node *n, enum merr type) { @@ -200,7 +205,6 @@ nerr(struct mdoc *m, const struct mdoc_node *n, enum m } -#define mwarn(m, t) nwarn((m), (m)->last, (t)) static int nwarn(struct mdoc *m, const struct mdoc_node *n, enum mwarn type) {