]> git.cameronkatri.com Git - mandoc.git/blobdiff - demandoc.c
delete some TODO entries that were already fixed
[mandoc.git] / demandoc.c
index d4667c487ff086628f915ac0c4feff45ce825128..a51c8cca059e78fdda28dee353c9254b6ffed999 100644 (file)
@@ -1,4 +1,4 @@
-/*     $Id: demandoc.c,v 1.19 2015/04/18 16:34:25 schwarze Exp $ */
+/*     $Id: demandoc.c,v 1.20 2015/04/18 17:53:21 schwarze Exp $ */
 /*
  * Copyright (c) 2011 Kristaps Dzonsons <kristaps@bsd.lv>
  *
@@ -121,9 +121,9 @@ pmandoc(struct mparse *mp, int fd, const char *fn, int list)
        if (man == NULL)
                return;
        if (man->macroset == MACROSET_MDOC)
-               pmdoc(mdoc_node(man), &line, &col, list);
+               pmdoc(man->first->child, &line, &col, list);
        else
-               pman(man_node(man), &line, &col, list);
+               pman(man->first->child, &line, &col, list);
 
        if ( ! list)
                putchar('\n');