Browse Source

[lua] fix missing end expression

Justin Donaldson 9 years ago
parent
commit
c262f4e9b9
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/generators/genlua.ml

+ 2 - 1
src/generators/genlua.ml

@@ -1935,10 +1935,11 @@ let generate com =
 	if has_feature ctx "use._hx_print" then
 	    println ctx "_hx_print = print or (function() end)";
 
-	if has_feature ctx "use._hx_apply_self" then
+	if has_feature ctx "use._hx_apply_self" then begin
 	    println ctx "_hx_apply_self = function(self, f, ...)";
 	    println ctx "  return self[f](self,...)";
 	    println ctx "end";
+	end;
 
 
 	List.iter (generate_enumMeta_fields ctx) com.types;