aboutsummaryrefslogtreecommitdiffstats
path: root/node.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2018-08-02 20:43:56 +0300
committerArnold D. Robbins <arnold@skeeve.com>2018-08-02 20:43:56 +0300
commitb32c67e0f99672ad4104cee4695b5eb040df16f4 (patch)
treef59c2329e2183fb12e4496306bb7893620bb966c /node.c
parentb98257919b20bdfc14f363761cc6215c1ad8bcee (diff)
parent3998ed059bbcfc189cd0d6c5762913fbd4ff4e77 (diff)
downloadegawk-b32c67e0f99672ad4104cee4695b5eb040df16f4.tar.gz
egawk-b32c67e0f99672ad4104cee4695b5eb040df16f4.tar.bz2
egawk-b32c67e0f99672ad4104cee4695b5eb040df16f4.zip
Merge branch 'gawk-4.2-stable' into feature/gnulib-regex
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;