From 86b063b99d78df97fcd761073f437ce00b018712 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Tue, 31 Jul 2018 09:21:43 +0300 Subject: Fix handling of physical newlines in -v arguments and related improvemnts. --- node.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'node.c') diff --git a/node.c b/node.c index 54ea6627..4ad41ef1 100644 --- a/node.c +++ b/node.c @@ -451,6 +451,8 @@ make_str_node(const char *s, size_t len, int flags) if (c < 0) { if (do_lint) lintwarn(_("backslash at end of string")); + if ((flags & ELIDE_BACK_NL) != 0) + continue; c = '\\'; } *ptm++ = c; -- cgit v1.2.3