[BACK]Return to mdoc_macro.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / mandoc

Diff for /src/usr.bin/mandoc/mdoc_macro.c between version 1.32 and 1.33

version 1.32, 2010/04/02 11:37:07 version 1.33, 2010/04/02 11:39:00
Line 940 
Line 940 
                 if (ARGS_EOLN == c)                  if (ARGS_EOLN == c)
                         break;                          break;
   
   /*
    * XXX Temporarily disable the handling of leading punctuation.
    *     We must investigate the fallout before enabling this.
    */
   #if 0
                 /* Don't emit leading punct. for phrases. */                  /* Don't emit leading punct. for phrases. */
   
                 if (NULL == head && ARGS_PHRASE != c &&                  if (NULL == head && ARGS_PHRASE != c &&
Line 948 
Line 953 
                                 return(0);                                  return(0);
                         continue;                          continue;
                 }                  }
   #endif
   
                 /* Always re-open head for phrases. */                  /* Always re-open head for phrases. */
   
Line 1060 
Line 1066 
                 if (ARGS_PUNCT == c)                  if (ARGS_PUNCT == c)
                         break;                          break;
   
   /*
    * XXX Temporarily disable the handling of leading punctuation.
    *     We must investigate the fallout before enabling this.
    */
   #if 0
                 if (NULL == body && 1 == mdoc_isdelim(p)) {                  if (NULL == body && 1 == mdoc_isdelim(p)) {
                         if ( ! mdoc_word_alloc(m, line, la, p))                          if ( ! mdoc_word_alloc(m, line, la, p))
                                 return(0);                                  return(0);
                         continue;                          continue;
                 }                  }
   #endif
   
                 if (NULL == body) {                  if (NULL == body) {
                        if ( ! mdoc_body_alloc(m, line, ppos, tok))                         if ( ! mdoc_body_alloc(m, line, ppos, tok))
Line 1151 
Line 1163 
   
                 assert(ARGS_PHRASE != c);                  assert(ARGS_PHRASE != c);
   
   /*
    * XXX Temporarily disable the handling of leading punctuation.
    *     We must investigate the fallout before enabling this.
    */
   #if 0
                 /* Flush out leading punctuation. */                  /* Flush out leading punctuation. */
   
                 if (NULL == head && 1 == mdoc_isdelim(p)) {                  if (NULL == head && 1 == mdoc_isdelim(p)) {
Line 1159 
Line 1176 
                                 return(0);                                  return(0);
                         continue;                          continue;
                 }                  }
   #endif
   
                 if (NULL == head) {                  if (NULL == head) {
                         assert(NULL == body);                          assert(NULL == body);
Line 1288 
Line 1306 
                 if (ARGS_EOLN == c)                  if (ARGS_EOLN == c)
                         break;                          break;
   
   /*
    * XXX Temporarily disable the handling of leading punctuation.
    *     We must investigate the fallout before enabling this.
    */
   #if 0
                 if ( ! (MDOC_IGNDELIM & mdoc_macros[tok].flags) &&                  if ( ! (MDOC_IGNDELIM & mdoc_macros[tok].flags) &&
                                 0 == j && 1 == mdoc_isdelim(p)) {                                  0 == j && 1 == mdoc_isdelim(p)) {
                         if ( ! mdoc_word_alloc(m, line, la, p))                          if ( ! mdoc_word_alloc(m, line, la, p))
                                 return(0);                                  return(0);
                         continue;                          continue;
                 } else if (0 == j)                  } else
   #endif
                   if (0 == j)
                        if ( ! mdoc_elem_alloc(m, line, la, tok, arg))                         if ( ! mdoc_elem_alloc(m, line, la, tok, arg))
                                return(0);                                 return(0);
   

Legend:
Removed from v.1.32  
changed lines
  Added in v.1.33