Browse Source

[as3] fix as3 compilation when __in__ is used

Dan Korostelev 11 years ago
parent
commit
f9389cbe36
1 changed files with 4 additions and 0 deletions
  1. 4 0
      genas3.ml

+ 4 - 0
genas3.ml

@@ -400,6 +400,10 @@ let rec gen_call ctx e el r =
 		gen_value ctx e1;
 		spr ctx " is ";
 		gen_value ctx e2;
+	| TLocal { v_name = "__in__" } , [e1;e2] ->
+		gen_value ctx e1;
+		spr ctx " in ";
+		gen_value ctx e2;
 	| TLocal { v_name = "__as__" }, [e1;e2] ->
 		gen_value ctx e1;
 		spr ctx " as ";