aboutsummaryrefslogtreecommitdiff
path: root/nomsu.moon
diff options
context:
space:
mode:
Diffstat (limited to 'nomsu.moon')
-rwxr-xr-xnomsu.moon3
1 files changed, 2 insertions, 1 deletions
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 {~ "" -> "