Sfoglia il codice sorgente

Lua : minor string metatable semicolon fix

Justin Donaldson 10 anni fa
parent
commit
f0551ccc68
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  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{
-		__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