=================================================================== RCS file: /cvs/mandoc/read.c,v retrieving revision 1.30 retrieving revision 1.33 diff -u -p -r1.30 -r1.33 --- mandoc/read.c 2012/07/12 15:11:14 1.30 +++ mandoc/read.c 2012/11/19 17:57:23 1.33 @@ -1,4 +1,4 @@ -/* $Id: read.c,v 1.30 2012/07/12 15:11:14 schwarze Exp $ */ +/* $Id: read.c,v 1.33 2012/11/19 17:57:23 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons * Copyright (c) 2010, 2011 Ingo Schwarze @@ -95,6 +95,7 @@ static const char * const mandocerrs[MANDOCERR_MAX] = "no title in document", "document title should be all caps", "unknown manual section", + "unknown manual volume or arch", "date missing, using today's date", "cannot parse date, using it verbatim", "prologue macros out of order", @@ -113,6 +114,7 @@ static const char * const mandocerrs[MANDOCERR_MAX] = /* related to macros and nesting */ "skipping obsolete macro", "skipping paragraph macro", + "moving paragraph macro out of list", "skipping no-space macro", "blocks badly nested", "child violates parent syntax", @@ -738,7 +740,7 @@ mparse_alloc(enum mparset inttype, enum mandoclevel wl curp->inttype = inttype; curp->defos = defos; - curp->roff = roff_alloc(curp); + curp->roff = roff_alloc(inttype, curp); return(curp); }