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

Diff for /mandoc/Attic/mdoc_action.c between version 1.28 and 1.30

version 1.28, 2009/07/15 15:53:57 version 1.30, 2009/07/17 10:56:57
Line 172  const struct actions mdoc_actions[MDOC_MAX] = {
Line 172  const struct actions mdoc_actions[MDOC_MAX] = {
         { NULL, NULL }, /* En */          { NULL, NULL }, /* En */
         { NULL, NULL }, /* Dx */          { NULL, NULL }, /* Dx */
         { NULL, NULL }, /* %Q */          { NULL, NULL }, /* %Q */
           { NULL, NULL }, /* br */
           { NULL, NULL }, /* sp */
 };  };
   
 static  int       concat(struct mdoc *, const struct mdoc_node *,  static  int       concat(struct mdoc *, const struct mdoc_node *,
Line 298  post_lb(POST_ARGS)
Line 300  post_lb(POST_ARGS)
         char            *buf;          char            *buf;
         size_t           sz;          size_t           sz;
   
         /*  
          * FIXME: this must be broken apart into a series of TEXT nodes,  
          * each containing a single word.  
          */  
   
         assert(MDOC_TEXT == m->last->child->type);          assert(MDOC_TEXT == m->last->child->type);
         p = mdoc_a2lib(m->last->child->string);          p = mdoc_a2lib(m->last->child->string);
         if (NULL == p) {          if (NULL == p) {
Line 331  post_st(POST_ARGS)
Line 328  post_st(POST_ARGS)
 {  {
         const char      *p;          const char      *p;
   
         /*  
          * FIXME: this must be broken apart into a series of TEXT nodes,  
          * each containing a single word.  
          */  
   
         assert(MDOC_TEXT == m->last->child->type);          assert(MDOC_TEXT == m->last->child->type);
         p = mdoc_a2st(m->last->child->string);          p = mdoc_a2st(m->last->child->string);
         assert(p);          assert(p);
Line 352  post_at(POST_ARGS)
Line 344  post_at(POST_ARGS)
 {  {
         struct mdoc_node *n;          struct mdoc_node *n;
         const char       *p;          const char       *p;
   
         /*  
          * FIXME: this must be broken apart into a series of TEXT nodes,  
          * each containing a single word.  
          */  
   
         if (m->last->child) {          if (m->last->child) {
                 assert(MDOC_TEXT == m->last->child->type);                  assert(MDOC_TEXT == m->last->child->type);

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

CVSweb