Browse Source

Lua : minor string metatable semicolon fix

Justin Donaldson 10 years ago
parent
commit
f0551ccc68
1 changed files with 2 additions and 2 deletions
  1. 2 2
      std/lua/_std/String.hx

+ 2 - 2
std/lua/_std/String.hx

@@ -35,8 +35,8 @@ class String {
 	}
 	}
 
 
 	static function __init__() : Void untyped{
 	static function __init__() : Void untyped{
-		__lua__("getmetatable('').__index = String.__index");
-		__lua__("getmetatable('').__add = function(a,b) return Std.string(a)..Std.string(b) end");
+		__lua__("getmetatable('').__index = String.__index;");
+		__lua__("getmetatable('').__add = function(a,b) return Std.string(a)..Std.string(b) end;");
 	}
 	}
 
 
 	@:keep
 	@:keep