=================================================================== RCS file: /cvs/mandoc/Attic/validate.c,v retrieving revision 1.27 retrieving revision 1.29 diff -u -p -r1.27 -r1.29 --- mandoc/Attic/validate.c 2009/01/12 17:26:42 1.27 +++ mandoc/Attic/validate.c 2009/01/15 15:46:45 1.29 @@ -1,4 +1,4 @@ -/* $Id: validate.c,v 1.27 2009/01/12 17:26:42 kristaps Exp $ */ +/* $Id: validate.c,v 1.29 2009/01/15 15:46:45 kristaps Exp $ */ /* * Copyright (c) 2008 Kristaps Dzonsons * @@ -79,8 +79,10 @@ const struct valids mdoc_valids[MDOC_MAX] = { { pres_prologue, NULL }, /* Os */ /* FIXME: preceding Pp. */ /* FIXME: NAME section internal ordering. */ + /* FIXME: can only be a child of root. */ { NULL, posts_sh }, /* Sh */ /* FIXME: preceding Pp. */ + /* FIXME: can only be a child of Sh. */ { NULL, posts_ss }, /* Ss */ /* FIXME: proceeding... */ { NULL, posts_pp }, /* Pp */ @@ -392,6 +394,8 @@ pre_bd(struct mdoc *mdoc, struct mdoc_node *node) case (MDOC_Ragged): /* FALLTHROUGH */ case (MDOC_Unfilled): + /* FALLTHROUGH */ + case (MDOC_Filled): /* FALLTHROUGH */ case (MDOC_Literal): /* FALLTHROUGH */