From e2bbbfe1611f12b33692af175d661fa25b2cc616 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Fri, 29 Sep 2017 22:04:03 -0700 Subject: More stuff is working more better. --- nomsu.moon | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'nomsu.moon') diff --git a/nomsu.moon b/nomsu.moon index 217d576..80d000a 100755 --- a/nomsu.moon +++ b/nomsu.moon @@ -98,7 +98,8 @@ nomsu = [=[ word <- ({ !number {%wordchar (!"'" %wordchar)*} }) -> Word inline_string <- ({ '"' {| - ({~ (("\\" -> "\") / ('\"' -> '"') / (!string_interpolation [^%nl"]))+ ~} + ({~ (("\\" -> "\") / ('\"' -> '"') / ("\n" -> " +") / (!string_interpolation [^%nl"]))+ ~} / string_interpolation)* |} '"' }) -> String indented_string <- ({ '".."' indent {| indented_string_line (nodent {~ "" -> " -- cgit v1.2.3