mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
Discard newline when backslash is the last character before new-line in a string constant
This commit is contained in:
parent
580ca0e668
commit
91f0887bdd
1 changed files with 2 additions and 0 deletions
|
|
@ -346,6 +346,8 @@ static int get_delimstring(char **string, int delim, input_t *input)
|
|||
c = get_quotedchar(input);
|
||||
if (c < 0)
|
||||
return c;
|
||||
if (c == '\n')
|
||||
continue;
|
||||
break;
|
||||
default:
|
||||
if (c == delim) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue