aboutsummaryrefslogtreecommitdiff
path: root/nomsu_compiler.moon
diff options
context:
space:
mode:
Diffstat (limited to 'nomsu_compiler.moon')
-rw-r--r--nomsu_compiler.moon2
1 files changed, 1 insertions, 1 deletions
diff --git a/nomsu_compiler.moon b/nomsu_compiler.moon
index 330378f..6fa9ffd 100644
--- a/nomsu_compiler.moon
+++ b/nomsu_compiler.moon
@@ -208,7 +208,7 @@ compile = (tree)=>
if i > 1 then lua\add "\n"
line_lua = @compile(line)
lua\add line_lua
- unless line_lua\last(1) == ";" or line_lua\last(4)\match("[^a-zA-Z0-9]end$")
+ unless line_lua\last(1) == ";" or line_lua\last(4)\match("[^_a-zA-Z0-9]end$")
lua\add ";"
return lua