Return to cmd-parse.y CVS log | Up to [local] / src / usr.bin / tmux |
version 1.7, 2019/05/29 10:08:36 | version 1.8, 2019/05/29 19:34:42 | ||
---|---|---|---|
|
|
||
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; | ||
|
|
||
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(); | ||
|
|
||
/* | /* | ||
* End of line. Update the line number. | * End of line. Update the line number. | ||
*/ | */ | ||
ps->input->line++; | ps->eol = 1; | ||
return ('\n'); | return ('\n'); | ||
} | } | ||