projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
795eca6
)
Fixed an error in a call to the error function.
author
William Stein
<wstein@gmail.com>
Sun, 29 Oct 2006 01:19:51 +0000
(18:19 -0700)
committer
William Stein
<wstein@gmail.com>
Sun, 29 Oct 2006 01:19:51 +0000
(18:19 -0700)
Cython/Compiler/Symtab.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/Symtab.py
b/Cython/Compiler/Symtab.py
index 7f5fc3ee7c8c3419919ddb65980940142058e0b8..caf0ffeb274257728809ed06b0dc4d546d940d45 100644
(file)
--- a/
Cython/Compiler/Symtab.py
+++ b/
Cython/Compiler/Symtab.py
@@
-195,7
+195,7
@@
class Scope:
# declared.
dict = self.entries
if name and dict.has_key(name):
-
warning(pos, "'%s' redeclared (ignoring second declaration)" % name, 0
)
+
error(pos, "'%s' redeclared (ignoring second declaration)" % name
)
entry = Entry(name, cname, type, pos = pos)
entry.in_cinclude = self.in_cinclude
if name: