diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-03-01 23:14:15 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-03-01 23:14:15 +0000 |
commit | 47a3a2b11dd9c321362d7104337e82cb7170da95 (patch) | |
tree | 08c9a887e527e2c2364b456394426abad49c5596 /mdoc.c | |
parent | fb06a8ce3dc0cd9e25b55638172648266b5c9dcd (diff) | |
download | mandoc-47a3a2b11dd9c321362d7104337e82cb7170da95.tar.gz |
Backed-out warning about Ds.
Backed-out assertion about Bd subtypes.
Diffstat (limited to 'mdoc.c')
-rw-r--r-- | mdoc.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -191,9 +191,14 @@ mdoc_parseln(struct mdoc *mdoc, int line, char *buf) mdoc->linetok = 0; + /* + * FIXME: should puke on whitespace in non-literal displays. + */ + if ('.' != *buf) { if (SEC_PROLOGUE == mdoc->lastnamed) - return(mdoc_perr(mdoc, line, 0, "text disallowed in document prologue")); + return(mdoc_perr(mdoc, line, 0, + "no text in document prologue")); if ( ! mdoc_word_alloc(mdoc, line, 0, buf)) return(0); mdoc->next = MDOC_NEXT_SIBLING; |