Browse Source

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

Simon Krajewski 10 years ago
parent
commit
53f4affc45
1 changed files with 2 additions and 0 deletions
  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 *)