From 7491d9e07fbb04a068cc4afd13b546d97bbb5636 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Sat, 16 Aug 2008 13:45:32 +0200 Subject: [PATCH] better error message --- Cython/Compiler/Symtab.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): -- 2.26.2