Browse Source

- syntax fix

Franco Ponticelli 15 years ago
parent
commit
fee99e30f7
1 changed files with 1 additions and 1 deletions
  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 _