From 0750d642624b2262afdb4dd17b275a16e96971b5 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Wed, 20 Sep 2017 05:02:53 -0700 Subject: Updated all the code to work with the latest nomsu. --- nomsu.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nomsu.lua') diff --git a/nomsu.lua b/nomsu.lua index 24c1484..c2b1004 100644 --- a/nomsu.lua +++ b/nomsu.lua @@ -321,7 +321,7 @@ do (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 -- cgit v1.2.3