From fd7ebea1a4c1e2c646bc3b61eea70a5185b6a2c6 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Sun, 21 Apr 2013 07:57:10 +0200 Subject: [PATCH] fix compiler crash --- Cython/Compiler/ExprNodes.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Cython/Compiler/ExprNodes.py b/Cython/Compiler/ExprNodes.py index 7e2b105..95faae5 100755 --- a/Cython/Compiler/ExprNodes.py +++ b/Cython/Compiler/ExprNodes.py @@ -750,6 +750,7 @@ class ExprNode(Node): return CoerceToBooleanNode(self, env) else: error(self.pos, "Type '%s' not acceptable as a boolean" % type) + return self def coerce_to_integer(self, env): # If not already some C integer type, coerce to longint. -- 2.7.4