Browse Source

- php : minor fix

Franco Ponticelli 14 năm trước cách đây
mục cha
commit
a9b750fdc9
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;