Browse Source

- syntax fix

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