From b28798b0340da57cef23fd0adf2740a956b3e99f Mon Sep 17 00:00:00 2001 From: Jan Nieuwenhuizen Date: Mon, 12 Nov 2018 07:23:07 +0100 Subject: [PATCH] grammar: space: allow newline twice. --- gash/grammar.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gash/grammar.scm b/gash/grammar.scm index 2420ac6..3a78c14 100644 --- a/gash/grammar.scm +++ b/gash/grammar.scm @@ -96,7 +96,7 @@ (define-peg-string-patterns "script <-- ws* compound ws < sp / eol - sp < '\\\n'? (comment / [ \t\v]) + sp < '\\\n'* (comment / [ \t\v]) comment < [#] (!eol .)* eol < [\n\r\f]