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

Diff for /docbook2mdoc/parse.c between version 1.53 and 1.55

version 1.53, 2019/04/28 15:03:29 version 1.55, 2019/04/29 02:00:50
Line 99  static const struct alias aliases[] = {
Line 99  static const struct alias aliases[] = {
         { "informaltable",      NODE_TABLE },          { "informaltable",      NODE_TABLE },
         { "keycap",             NODE_KEYSYM },          { "keycap",             NODE_KEYSYM },
         { "keycode",            NODE_IGNORE },          { "keycode",            NODE_IGNORE },
           { "keycombo",           NODE_IGNORE },
         { "mediaobject",        NODE_BLOCKQUOTE },          { "mediaobject",        NODE_BLOCKQUOTE },
         { "orgname",            NODE_IGNORE },          { "orgname",            NODE_IGNORE },
         { "othercredit",        NODE_AUTHOR },          { "othercredit",        NODE_AUTHOR },
Line 361  pnode_closetext(struct parse *p, int check_last_word)
Line 362  pnode_closetext(struct parse *p, int check_last_word)
   
         /* Move the last word into its own node, for use with .Pf. */          /* Move the last word into its own node, for use with .Pf. */
   
         n = pnode_alloc(p->cur);          n = pnode_alloc_text(p->cur, last_word);
         n->node = NODE_TEXT;  
         n->flags |= NFLAG_SPC;          n->flags |= NFLAG_SPC;
         n->b = xstrdup(last_word);  
 }  }
   
 static void  static void

Legend:
Removed from v.1.53  
changed lines
  Added in v.1.55

CVSweb