OSDN Git Service

Discard newline when backslash is the last character before new-line in a string...
authorJaroslav Kysela <perex@perex.cz>
Thu, 8 Nov 2001 14:58:51 +0000 (14:58 +0000)
committerJaroslav Kysela <perex@perex.cz>
Thu, 8 Nov 2001 14:58:51 +0000 (14:58 +0000)
src/conf.c

index 671b2d7..872001c 100644 (file)
@@ -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) {