[BACK]Return to pr_comment.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / usr.bin / indent

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/usr.bin/indent/pr_comment.c between version 1.50 and 1.51

version 1.50, 2021/10/05 06:09:42 version 1.51, 2021/10/05 06:15:24
Line 207  process_comment(void)
Line 207  process_comment(void)
     for (;;) {                  /* this loop will go until the comment is      for (;;) {                  /* this loop will go until the comment is
                                  * copied */                                   * copied */
         switch (*buf_ptr) {     /* this checks for various special cases */          switch (*buf_ptr) {     /* this checks for various special cases */
         case 014:               /* check for a form feed */          case '\f':
             check_size_comment(3);              check_size_comment(3);
             if (!ps.box_com) {  /* in a text comment, break the line here */              if (!ps.box_com) {  /* in a text comment, break the line here */
                 ps.use_ff = true;                  ps.use_ff = true;
Line 221  process_comment(void)
Line 221  process_comment(void)
                     buf_ptr++;                      buf_ptr++;
             } else {              } else {
                 inbuf_skip();                  inbuf_skip();
                 *com.e++ = 014;                  *com.e++ = '\f';
             }              }
             break;              break;
   

Legend:
Removed from v.1.50  
changed lines
  Added in v.1.51

CVSweb <webmaster@jp.NetBSD.org>