projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8688b1e
)
better error message
author
Stefan Behnel
<scoder@users.berlios.de>
Sat, 16 Aug 2008 11:45:32 +0000
(13:45 +0200)
committer
Stefan Behnel
<scoder@users.berlios.de>
Sat, 16 Aug 2008 11:45:32 +0000
(13:45 +0200)
Cython/Compiler/Symtab.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/Symtab.py
b/Cython/Compiler/Symtab.py
index 5c70dcb35c9022fc31d3878a5386fefdeb17bba2..5b547b89b8fbe8527b888fa2b85b612e5e3396ea 100644
(file)
--- 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):