Explorar o código

- php : minor fix

Franco Ponticelli %!s(int64=14) %!d(string=hai) anos
pai
achega
a9b750fdc9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      genphp.ml

+ 1 - 1
genphp.ml

@@ -1173,7 +1173,7 @@ and gen_expr ctx e =
 					gen_expr ctx e1;
 				| _ -> 
 					spr ctx "return ";
-					gen_expr ctx e
+					gen_value ctx e
 				)
 			end else begin
 				gen_expr ctx e;