From 1e61471d480575d069f96b858e4b46f43ba0530f Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 9 Sep 2015 16:20:41 +0200 Subject: For newline escaping, ignore whole thing instead of making it newline To capture literal newline, use quoting. --- tests/quote/buildfile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'tests/quote/buildfile') diff --git a/tests/quote/buildfile b/tests/quote/buildfile index 19c2bfc..a2ebbe9 100644 --- a/tests/quote/buildfile +++ b/tests/quote/buildfile @@ -29,4 +29,19 @@ print "("foo bar")" print "("$foo bar")" print "("$foo ($bar)")" +# Quoting and escaping/multiline. +# +print \ +"foo"\ +"bar" + +print \ +"foo\ +bar" + +print \ +"foo (fox \ +) +bar" + ./: -- cgit v1.1