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.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'nomsu.lua') diff --git a/nomsu.lua b/nomsu.lua index 549e4f7..82a8b8f 100644 --- a/nomsu.lua +++ b/nomsu.lua @@ -95,7 +95,8 @@ local nomsu = [=[ file <- ({ {| shebang? 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