소스 검색

[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 *)