浏览代码

[analyzer] add back TParenthesis and TMeta skipping (closes #3683)

Simon Krajewski 10 年之前
父节点
当前提交
53f4affc45
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      analyzer.ml

+ 2 - 0
analyzer.ml

@@ -124,6 +124,8 @@ module Simplifier = struct
 						v,e
 					) catches in
 					{e with eexpr = TTry(e1,catches)}
+				| TParenthesis e1 | TMeta(_,e1) ->
+					loop e1 (* this is still weird, have to review *)
 (* 				| TBinop(OpAssign,({eexpr = TLocal _} as e1),e2) ->
 					push e;
 					mk_assign e1 *)