aboutsummaryrefslogtreecommitdiffstats
path: root/node.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2018-08-02 20:41:40 +0300
committerArnold D. Robbins <arnold@skeeve.com>2018-08-02 20:41:40 +0300
commitef5a30e67615e1acc931e2f542b09f114ba30a97 (patch)
tree6f99a27e320b0a90830475bb53afcdae050726ab /node.c
parent0b5a1bcd8b7189cb2d3048ef8e8d39dd33e2bec6 (diff)
parent48f02e6672003d218d4c0348a6add7931522603b (diff)
downloadegawk-ef5a30e67615e1acc931e2f542b09f114ba30a97.tar.gz
egawk-ef5a30e67615e1acc931e2f542b09f114ba30a97.tar.bz2
egawk-ef5a30e67615e1acc931e2f542b09f114ba30a97.zip
Merge branch 'master' into feature/fix-comments
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;