version 1.90, 2009/03/21 13:37:31 |
version 1.93, 2009/03/23 14:22:11 |
|
|
#include <stdarg.h> |
#include <stdarg.h> |
#include <stdlib.h> |
#include <stdlib.h> |
|
|
#include "private.h" |
#include "libmdoc.h" |
|
|
/* FIXME: .Bl -diag can't have non-text children in HEAD. */ |
/* FIXME: .Bl -diag can't have non-text children in HEAD. */ |
/* TODO: ignoring Pp (it's superfluous in some invocations). */ |
/* TODO: ignoring Pp (it's superfluous in some invocations). */ |
Line 220 const struct valids mdoc_valids[MDOC_MAX] = { |
|
Line 220 const struct valids mdoc_valids[MDOC_MAX] = { |
|
{ pres_er, posts_text }, /* Er */ |
{ pres_er, posts_text }, /* Er */ |
{ NULL, NULL }, /* Ev */ |
{ NULL, NULL }, /* Ev */ |
{ pres_ex, posts_ex }, /* Ex */ |
{ pres_ex, posts_ex }, /* Ex */ |
{ NULL, posts_text }, /* Fa */ |
{ NULL, NULL }, /* Fa */ |
{ pres_fd, posts_wtext }, /* Fd */ |
{ pres_fd, posts_wtext }, /* Fd */ |
{ NULL, NULL }, /* Fl */ |
{ NULL, NULL }, /* Fl */ |
{ NULL, posts_text }, /* Fn */ |
{ NULL, posts_text }, /* Fn */ |
Line 839 pre_bl(PRE_ARGS) |
|
Line 839 pre_bl(PRE_ARGS) |
|
case (MDOC_Tag): |
case (MDOC_Tag): |
if (-1 != width) |
if (-1 != width) |
break; |
break; |
return(mdoc_nerr(mdoc, n, "missing %s argument", |
return(mdoc_nwarn(mdoc, n, WARN_SYNTAX, |
|
"suggest %s argument", |
mdoc_argnames[MDOC_Width])); |
mdoc_argnames[MDOC_Width])); |
default: |
default: |
break; |
break; |