aboutsummaryrefslogtreecommitdiffstats
path: root/node.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2018-08-02 20:39:01 +0300
committerArnold D. Robbins <arnold@skeeve.com>2018-08-02 20:39:01 +0300
commit48f02e6672003d218d4c0348a6add7931522603b (patch)
tree052246fdd311d0bcd540a5ab3c41187a7065a971 /node.c
parent39a49e9e54b19cc8a51f8f6030bef65d7adf952f (diff)
parent3998ed059bbcfc189cd0d6c5762913fbd4ff4e77 (diff)
downloadegawk-48f02e6672003d218d4c0348a6add7931522603b.tar.gz
egawk-48f02e6672003d218d4c0348a6add7931522603b.tar.bz2
egawk-48f02e6672003d218d4c0348a6add7931522603b.zip
Merge branch 'gawk-4.2-stable'
Diffstat (limited to 'node.c')
-rw-r--r--node.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/node.c b/node.c
index 54ea6627..2f9e6d4c 100644
--- a/node.c
+++ b/node.c
@@ -450,7 +450,9 @@ make_str_node(const char *s, size_t len, int flags)
c = parse_escape(&pf);
if (c < 0) {
if (do_lint)
- lintwarn(_("backslash at end of string"));
+ lintwarn(_("backslash string continuation is not portable"));
+ if ((flags & ELIDE_BACK_NL) != 0)
+ continue;
c = '\\';
}
*ptm++ = c;