From: Stefan Behnel Date: Sat, 16 Aug 2008 11:45:32 +0000 (+0200) Subject: better error message X-Git-Tag: 0.9.8.1~13^2~4 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=7491d9e07fbb04a068cc4afd13b546d97bbb5636;p=cython.git better error message --- diff --git a/Cython/Compiler/Symtab.py b/Cython/Compiler/Symtab.py index 5c70dcb3..5b547b89 100644 --- a/Cython/Compiler/Symtab.py +++ b/Cython/Compiler/Symtab.py @@ -440,7 +440,7 @@ class Scope: if api: entry.api = 1 if not defining and not in_pxd and visibility != 'extern': - error(pos, "Non-extern C function declared but not defined") + error(pos, "Non-extern C function '%s' declared but not defined" % name) return entry def add_cfunction(self, name, type, pos, cname, visibility):