aboutsummaryrefslogtreecommitdiff
path: root/nomsu_tree.moon
diff options
context:
space:
mode:
authorBruce Hill <bitbucket@bruce-hill.com>2018-04-30 14:50:25 -0700
committerBruce Hill <bitbucket@bruce-hill.com>2018-04-30 14:50:43 -0700
commit35a553918568cd72a0445251bc6b170ed4201557 (patch)
treecfdba2203c8de4edae41f3a7af98997672b42738 /nomsu_tree.moon
parentbf24824660497189da1a7d03b524e648271b4d03 (diff)
Fix for math expression parsing
Diffstat (limited to 'nomsu_tree.moon')
-rw-r--r--nomsu_tree.moon2
1 files changed, 1 insertions, 1 deletions
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!