mirror of
https://github.com/tmux/tmux.git
synced 2025-01-07 16:28:48 +00:00
Merge branch 'obsd-master' into master
This commit is contained in:
commit
4724702d4e
@ -1505,8 +1505,12 @@ yylex_token(int ch)
|
|||||||
state == NONE)
|
state == NONE)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
/* Spaces and comments inside quotes after \n are removed. */
|
/*
|
||||||
|
* Spaces and comments inside quotes after \n are removed but
|
||||||
|
* the \n is left.
|
||||||
|
*/
|
||||||
if (ch == '\n' && state != NONE) {
|
if (ch == '\n' && state != NONE) {
|
||||||
|
yylex_append1(&buf, &len, '\n');
|
||||||
while ((ch = yylex_getc()) == ' ' || ch == '\t')
|
while ((ch = yylex_getc()) == ' ' || ch == '\t')
|
||||||
/* nothing */;
|
/* nothing */;
|
||||||
if (ch != '#')
|
if (ch != '#')
|
||||||
|
Loading…
Reference in New Issue
Block a user