浏览代码

added haxe.PosInfos prot. var.

Nicolas Cannasse 19 年之前
父节点
当前提交
1347cddcef
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      genswf8.ml

+ 2 - 0
genswf8.ml

@@ -162,6 +162,8 @@ let new_call ctx kind n  =
 
 let always_protected = function
 	| "prototype" | "toString" | "__resolve" | "__constructor__" | "__proto__" -> true
+	(*// haxe.PosInfos *)
+	| "fileName" | "lineNumber" | "className" | "methodName" | "customParams" -> true
 	| s ->
 		if String.length s > 0 && s.[0] = '$' then
 			true