=================================================================== RCS file: /cvs/mandoc/read.c,v retrieving revision 1.31 retrieving revision 1.34 diff -u -p -r1.31 -r1.34 --- mandoc/read.c 2012/07/18 11:11:12 1.31 +++ mandoc/read.c 2012/11/19 22:30:58 1.34 @@ -1,7 +1,7 @@ -/* $Id: read.c,v 1.31 2012/07/18 11:11:12 schwarze Exp $ */ +/* $Id: read.c,v 1.34 2012/11/19 22:30:58 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons - * Copyright (c) 2010, 2011 Ingo Schwarze + * Copyright (c) 2010, 2011, 2012 Ingo Schwarze * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -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", @@ -179,6 +180,7 @@ static const char * const mandocerrs[MANDOCERR_MAX] = "skipping unknown macro", "NOT IMPLEMENTED, please use groff: skipping request", "argument count wrong", + "skipping column outside column list", "skipping end of block that is not open", "missing end of block", "scope open on exit", @@ -739,7 +741,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); }