diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2018-04-30 14:50:25 -0700 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2018-04-30 14:50:43 -0700 |
| commit | 35a553918568cd72a0445251bc6b170ed4201557 (patch) | |
| tree | cfdba2203c8de4edae41f3a7af98997672b42738 /nomsu_tree.lua | |
| parent | bf24824660497189da1a7d03b524e648271b4d03 (diff) | |
Fix for math expression parsing
Diffstat (limited to 'nomsu_tree.lua')
| -rw-r--r-- | nomsu_tree.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nomsu_tree.lua b/nomsu_tree.lua index 93588c4..cba4fed 100644 --- a/nomsu_tree.lua +++ b/nomsu_tree.lua @@ -153,7 +153,7 @@ Tree("Block", { return nomsu end }) -local math_expression = re.compile([[ "%" (" " [*/^+-] " %")+ ]]) +local math_expression = re.compile([[ "%" (" " [*/^+-] " %")+ !. ]]) Tree("Action", { as_lua = function(self, nomsu) local stub = self:get_stub() |
