浏览代码

- php : minor fix

Franco Ponticelli 14 年之前
父节点
当前提交
a9b750fdc9
共有 1 个文件被更改,包括 1 次插入1 次删除
  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;