소스 검색

php : fix with Unop/Prefix and Array access

Franco Ponticelli 14 년 전
부모
커밋
0a4789b462
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      genphp.ml

+ 1 - 1
genphp.ml

@@ -1286,7 +1286,7 @@ and gen_expr ctx e =
 		(match e.eexpr with
 		| TArray(te1, te2) ->
 			gen_value ctx te1;
-			spr ctx "->»a[";
+			spr ctx "[";
 			gen_value ctx te2;
 			spr ctx "]";
 		| TField (e1,s) ->