[BACK]Return to main.c CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / docbook2mdoc

Diff for /docbook2mdoc/main.c between version 1.1 and 1.2

version 1.1, 2019/03/26 18:32:07 version 1.2, 2019/03/26 20:06:16
Line 80  main(int argc, char *argv[])
Line 80  main(int argc, char *argv[])
         rc = 1;          rc = 1;
         if ((parser = parse_alloc(warn)) != NULL) {          if ((parser = parse_alloc(warn)) != NULL) {
                 if ((tree = parse_file(parser, fd, fname)) != NULL) {                  if ((tree = parse_file(parser, fd, fname)) != NULL) {
                         if ((tree->flags & TREE_FAIL) == 0)                          if (tree->flags & TREE_FAIL)
                                   fputc('\n', stderr);
                           else
                                 rc = 0;                                  rc = 0;
                         ptree_print(tree);                          ptree_print(tree);
                           if (tree->flags & TREE_FAIL)
                                   fputs("\nThe output is incomplete, see "
                                       "the parse error reported above.\n\n",
                                       stderr);
                         pnode_unlink(tree->root);                          pnode_unlink(tree->root);
                         tree->root = NULL;                          tree->root = NULL;
                 }                  }

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

CVSweb