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

Diff for /docbook2mdoc/node.c between version 1.24 and 1.28

version 1.24, 2019/04/28 15:03:29 version 1.28, 2019/05/01 12:52:05
Line 32  struct nodeprop {
Line 32  struct nodeprop {
 };  };
   
 static  const struct nodeprop properties[] = {  static  const struct nodeprop properties[] = {
           { "abstract",           CLASS_BLOCK },
         { "appendix",           CLASS_BLOCK },          { "appendix",           CLASS_BLOCK },
         { "arg",                CLASS_ENCL },          { "arg",                CLASS_ENCL },
         { "author",             CLASS_LINE },          { "author",             CLASS_LINE },
Line 61  static const struct nodeprop properties[] = {
Line 62  static const struct nodeprop properties[] = {
         { "firstterm",          CLASS_LINE },          { "firstterm",          CLASS_LINE },
         { "footnote",           CLASS_BLOCK },          { "footnote",           CLASS_BLOCK },
         { "funcdef",            CLASS_BLOCK },          { "funcdef",            CLASS_BLOCK },
           { "funcparams",         CLASS_LINE },
         { "funcprototype",      CLASS_BLOCK },          { "funcprototype",      CLASS_BLOCK },
         { "funcsynopsis",       CLASS_TRANS },          { "funcsynopsis",       CLASS_TRANS },
         { "funcsynopsisinfo",   CLASS_LINE },          { "funcsynopsisinfo",   CLASS_LINE },
Line 148  static const struct nodeprop properties[] = {
Line 150  static const struct nodeprop properties[] = {
         { "warning",            CLASS_BLOCK },          { "warning",            CLASS_BLOCK },
         { "wordasword",         CLASS_TRANS },          { "wordasword",         CLASS_TRANS },
         { "xref",               CLASS_LINE },          { "xref",               CLASS_LINE },
           { "year",               CLASS_TRANS },
         { "[UNKNOWN]",          CLASS_VOID },          { "[UNKNOWN]",          CLASS_VOID },
         { "(t)",                CLASS_TEXT },          { "(t)",                CLASS_TEXT },
         { "(e)",                CLASS_TEXT }          { "(e)",                CLASS_TEXT }
Line 258  pnode_alloc(struct pnode *np)
Line 261  pnode_alloc(struct pnode *np)
         TAILQ_INIT(&n->attrq);          TAILQ_INIT(&n->attrq);
         if ((n->parent = np) != NULL)          if ((n->parent = np) != NULL)
                 TAILQ_INSERT_TAIL(&np->childq, n, child);                  TAILQ_INSERT_TAIL(&np->childq, n, child);
           return n;
   }
   
   struct pnode *
   pnode_alloc_text(struct pnode *np, const char *text)
   {
           struct pnode    *n;
   
           n = pnode_alloc(np);
           n->node = NODE_TEXT;
           n->b = xstrdup(text);
         return n;          return n;
 }  }
   

Legend:
Removed from v.1.24  
changed lines
  Added in v.1.28

CVSweb