=================================================================== RCS file: /cvs/mandoc/read.c,v retrieving revision 1.31 retrieving revision 1.33 diff -u -p -r1.31 -r1.33 --- mandoc/read.c 2012/07/18 11:11:12 1.31 +++ mandoc/read.c 2012/11/19 17:57:23 1.33 @@ -1,4 +1,4 @@ -/* $Id: read.c,v 1.31 2012/07/18 11:11:12 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", @@ -739,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); }