Explorar o código

php : fix with Unop/Prefix and Array access

Franco Ponticelli %!s(int64=14) %!d(string=hai) anos
pai
achega
0a4789b462
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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) ->