From 4b6639f6974d14cf091beadd68041f7957415071 Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Sat, 1 Nov 2014 21:06:16 -0700 Subject: Allow # within string tokens This means that # must be the first character of the string to start a comment, in line with other shells Fixes #953 --- tests/test9.in | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/test9.in') diff --git a/tests/test9.in b/tests/test9.in index e85c64b1..3adc1ca4 100644 --- a/tests/test9.in +++ b/tests/test9.in @@ -116,4 +116,8 @@ try_unbalanced_block 'if false' # BOM checking (see #1518) echo \uFEFF"echo bom_test" | source +# Comments abutting text (#953) +echo not#a#comment +echo is # a # comment + false -- cgit v1.2.3