Procházet zdrojové kódy

[lua] Seems like useless for Lua (is it from JS?)

peyty před 9 roky
rodič
revize
9134841df8
1 změnil soubory, kde provedl 0 přidání a 1 odebrání
  1. 0 1
      genlua.ml

+ 0 - 1
genlua.ml

@@ -98,7 +98,6 @@ let ident s = if Hashtbl.mem kwds s then "_" ^ s else s
 let anon_field s = if Hashtbl.mem kwds s || not (valid_lua_ident s) then "['" ^ s ^ "']" else s
 let static_field s =
     match s with
-	| "length" | "name" -> "._" ^ s
 	| s -> field s
 
 let has_feature ctx = Common.has_feature ctx.com