Browse Source

- fixed issue 286

Franco Ponticelli 14 years ago
parent
commit
597467f1b4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      genphp.ml

+ 1 - 1
genphp.ml

@@ -1559,11 +1559,11 @@ and gen_value ctx e =
 	| TCall _
 	| TUnop _
 	| TNew _
-	| TCast _
 	| TFunction _ ->
 		gen_expr ctx e
 	| TBlock [] ->
 		()
+	| TCast (e, _)
 	| TBlock [e] ->
 		gen_value ctx e
 	| TBlock _