=================================================================== RCS file: /cvs/mandoc/demandoc.c,v retrieving revision 1.8 retrieving revision 1.10 diff -u -p -r1.8 -r1.10 --- mandoc/demandoc.c 2014/01/05 20:41:04 1.8 +++ mandoc/demandoc.c 2014/03/19 22:20:43 1.10 @@ -1,4 +1,4 @@ -/* $Id: demandoc.c,v 1.8 2014/01/05 20:41:04 schwarze Exp $ */ +/* $Id: demandoc.c,v 1.10 2014/03/19 22:20:43 schwarze Exp $ */ /* * Copyright (c) 2011 Kristaps Dzonsons * @@ -76,7 +76,7 @@ main(int argc, char *argv[]) argc -= optind; argv += optind; - mp = mparse_alloc(MPARSE_AUTO, MANDOCLEVEL_FATAL, NULL, NULL, 0); + mp = mparse_alloc(MPARSE_SO, MANDOCLEVEL_FATAL, NULL, NULL); assert(mp); if (0 == argc) @@ -110,7 +110,7 @@ pmandoc(struct mparse *mp, int fd, const char *fn, int return; } - mparse_result(mp, &mdoc, &man); + mparse_result(mp, &mdoc, &man, NULL); line = 1; col = 0;