aboutsummaryrefslogtreecommitdiff
path: root/nomsu.moon
diff options
context:
space:
mode:
authorBruce Hill <bitbucket@bruce-hill.com>2017-09-20 05:02:53 -0700
committerBruce Hill <bitbucket@bruce-hill.com>2017-09-20 05:02:53 -0700
commit0750d642624b2262afdb4dd17b275a16e96971b5 (patch)
tree0d526e928115238862375441f5e4176638d07eb4 /nomsu.moon
parent18365e02b14686e9ad26d1fbc5ac19984b73da6b (diff)
Updated all the code to work with the latest nomsu.
Diffstat (limited to 'nomsu.moon')
-rwxr-xr-xnomsu.moon2
1 files changed, 1 insertions, 1 deletions
diff --git a/nomsu.moon b/nomsu.moon
index 22a72df..7f623cf 100755
--- a/nomsu.moon
+++ b/nomsu.moon
@@ -229,7 +229,7 @@ class NomsuCompiler
(dedent / longstring_error)) |} }) -> Longstring
longstring_line <- "|" {| ({("\\" / (!string_interpolation [^%nl]))+} / string_interpolation)* |}
longstring_error <- (({.+} ("" -> "Error while parsing Longstring")) => error)
- string_interpolation <- "\" %ws? (inline_functioncall / expression) %ws? "\"
+ string_interpolation <- "\" %ws? (((inline_functioncall / expression) dotdot?) / dotdot) %ws? "\"
number <- ({ {"-"? (([0-9]+ "." [0-9]+) / ("." [0-9]+) / ([0-9]+)) } }) -> Number