From b003f041bbc6c8d2d8a3ecc80ece9441222b213b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Tue, 28 Feb 2006 00:37:04 +0000 Subject: Generate return statement. --- Parser/asdl_c.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Parser/asdl_c.py b/Parser/asdl_c.py index b55b6eb..1f63df9 100755 --- a/Parser/asdl_c.py +++ b/Parser/asdl_c.py @@ -526,6 +526,7 @@ class ASTModuleVisitor(PickleVisitor): self.emit("return;", 2) # Value of version: "$Revision$" self.emit('if (PyModule_AddStringConstant(m, "__version__", "%s") < 0)' % mod.version.value[12:-3], 1) + self.emit("return;", 2) for dfn in mod.dfns: self.visit(dfn) self.emit("}", 0) -- cgit v0.12