瀏覽代碼

- syntax fix

Franco Ponticelli 15 年之前
父節點
當前提交
fee99e30f7
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      genphp.ml

+ 1 - 1
genphp.ml

@@ -1165,7 +1165,7 @@ and gen_expr ctx e =
 					| TThrow _ 
 					| TBlock _ ->
 						gen_expr ctx e
-					| TReturn Some e1 ->
+					| TReturn (Some e1) ->
 						(match e1.eexpr with
 						| TIf _
 						| TSwitch _