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

Diff for /mandoc/man.c between version 1.34 and 1.36

version 1.34, 2009/08/21 12:12:12 version 1.36, 2009/08/21 13:18:32
Line 41  const char *const __man_merrnames[WERRMAX] = {   
Line 41  const char *const __man_merrnames[WERRMAX] = {   
         "unknown macro", /* WMACRO */          "unknown macro", /* WMACRO */
         "ill-formed macro", /* WMACROFORM */          "ill-formed macro", /* WMACROFORM */
         "scope open on exit", /* WEXITSCOPE */          "scope open on exit", /* WEXITSCOPE */
         "no scope context" /* WNOSCOPE */          "no scope context", /* WNOSCOPE */
           "literal context already open", /* WOLITERAL */
           "no literal context open" /* WNLITERAL */
 };  };
   
 const   char *const __man_macronames[MAN_MAX] = {  const   char *const __man_macronames[MAN_MAX] = {
Line 392  man_ptext(struct man *m, int line, char *buf)
Line 394  man_ptext(struct man *m, int line, char *buf)
 {  {
         int              i, j;          int              i, j;
   
           /* Literal free-form text whitespace is preserved. */
   
           if (MAN_LITERAL & m->flags) {
                   if ( ! man_word_alloc(m, line, 0, buf))
                           return(0);
                   goto descope;
           }
   
         /* First de-chunk and allocate words. */          /* First de-chunk and allocate words. */
   
         for (i = 0; ' ' == buf[i]; i++)          for (i = 0; ' ' == buf[i]; i++)
Line 432  descope:
Line 442  descope:
          * first close out the element scope (if applicable), then close           * first close out the element scope (if applicable), then close
          * out the block scope (also if applicable).           * out the block scope (also if applicable).
          */           */
   
         /* XXX - this should be in man_action.c. */  
   
         if (MAN_ELINE & m->flags) {          if (MAN_ELINE & m->flags) {
                 m->flags &= ~MAN_ELINE;                  m->flags &= ~MAN_ELINE;

Legend:
Removed from v.1.34  
changed lines
  Added in v.1.36

CVSweb