From 35a553918568cd72a0445251bc6b170ed4201557 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Mon, 30 Apr 2018 14:50:25 -0700 Subject: Fix for math expression parsing --- nomsu_tree.moon | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nomsu_tree.moon') diff --git a/nomsu_tree.moon b/nomsu_tree.moon index 2b4cc0a..00b21c9 100644 --- a/nomsu_tree.moon +++ b/nomsu_tree.moon @@ -103,7 +103,7 @@ Tree "Block", nomsu\append "\n" return nomsu -math_expression = re.compile [[ "%" (" " [*/^+-] " %")+ ]] +math_expression = re.compile [[ "%" (" " [*/^+-] " %")+ !. ]] Tree "Action", as_lua: (nomsu)=> stub = @get_stub! -- cgit v1.2.3