From 91f0887bdd499a00dec35062120b8d14f9857402 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Thu, 8 Nov 2001 14:58:51 +0000 Subject: [PATCH] Discard newline when backslash is the last character before new-line in a string constant --- src/conf.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/conf.c b/src/conf.c index 671b2d77..872001c2 100644 --- a/src/conf.c +++ b/src/conf.c @@ -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) { -- 2.47.1