aboutsummaryrefslogtreecommitdiffstats
path: root/awkgram.y
diff options
context:
space:
mode:
Diffstat (limited to 'awkgram.y')
-rw-r--r--awkgram.y2
1 files changed, 2 insertions, 0 deletions
diff --git a/awkgram.y b/awkgram.y
index f3d3b38b..995b8bda 100644
--- a/awkgram.y
+++ b/awkgram.y
@@ -3854,6 +3854,8 @@ retry:
if (c == '\n') {
if (do_posix)
fatal(_("POSIX does not allow physical newlines in string values"));
+ else if (do_lint)
+ lintwarn(_("backslash string continuation is not portable"));
sourceline++;
continue;
}