[BACK]Return to cmd-parse.y CVS log [TXT][DIR] Up to [local] / src / usr.bin / tmux

Diff for /src/usr.bin/tmux/cmd-parse.y between version 1.7 and 1.8

version 1.7, 2019/05/29 10:08:36 version 1.8, 2019/05/29 19:34:42
Line 58 
Line 58 
         size_t                           len;          size_t                           len;
         size_t                           off;          size_t                           off;
   
           int                              eol;
         int                              eof;          int                              eof;
         struct cmd_parse_input          *input;          struct cmd_parse_input          *input;
         u_int                            escapes;          u_int                            escapes;
Line 933 
Line 934 
         char                    *token, *cp;          char                    *token, *cp;
         int                      ch, next;          int                      ch, next;
   
           if (ps->eol)
                   ps->input->line++;
           ps->eol = 0;
   
         for (;;) {          for (;;) {
                 ch = yylex_getc();                  ch = yylex_getc();
   
Line 959 
Line 964 
                         /*                          /*
                          * End of line. Update the line number.                           * End of line. Update the line number.
                          */                           */
                         ps->input->line++;                          ps->eol = 1;
                         return ('\n');                          return ('\n');
                 }                  }
   

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8