From 3ca518255e7be2af5fe4a6b2a02e33dd232729d9 Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Sat, 2 May 2015 18:22:20 -0700 Subject: Treat comments ending in backslashes as not continuing onto the next line Fixes #1255 --- tests/test1.in | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests/test1.in') diff --git a/tests/test1.in b/tests/test1.in index b9db902a..cfea247a 100644 --- a/tests/test1.in +++ b/tests/test1.in @@ -155,6 +155,11 @@ echo before comment \ # comment after comment +# Backslashes are part of comments and do not join lines (#1255) +# This should execute false, not echo it +echo -n # comment\ +false + function always_fails if true return 1 -- cgit v1.2.3