浏览代码

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

peyty 9 年之前
父节点
当前提交
9134841df8
共有 1 个文件被更改,包括 0 次插入1 次删除
  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