diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-06-12 10:09:19 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-06-12 10:09:19 +0000 |
commit | 0b20ee1ae342d058c3e78b46ba69335c80addfda (patch) | |
tree | 2c6c3b2b5b2b24cce540a79d6cafcda7e6bce9b3 /main.c | |
parent | 078ee5b9efa7e35cf66a131178415a512c4a33fe (diff) | |
download | mandoc-0b20ee1ae342d058c3e78b46ba69335c80addfda.tar.gz mandoc-0b20ee1ae342d058c3e78b46ba69335c80addfda.tar.zst mandoc-0b20ee1ae342d058c3e78b46ba69335c80addfda.zip |
Added enum mdoc_disp (similar to enum mdoc_list). Display types are now
only calculated once in mdoc_validate.c.
Noted that `Bd -file xxx' is not supported: it now raises a fatal
warning. This is noted in mdoc.7.
Empty `Bd' now defaults to LIST_ragged, which is not quite what groff
does, but close enough (gross just throws away the `Bd' and gets upset
when it encounters an `Ed').
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: main.c,v 1.86 2010/06/08 13:22:37 kristaps Exp $ */ +/* $Id: main.c,v 1.87 2010/06/12 10:09:19 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se> * @@ -143,12 +143,13 @@ static const char * const mandocerrs[MANDOCERR_MAX] = { "macro requires argument(s)", "no title in document", "missing list type", + "missing display type", "line argument(s) will be lost", "body argument(s) will be lost", "column syntax is inconsistent", "missing font type", - "missing display type", "displays may not be nested", + "unsupported display type", "no scope to rewind: syntax violated", "scope broken, syntax violated", "line scope broken, syntax violated", |