projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4bbcccf
)
Changed that error to a warning.
author
William Stein
<wstein@gmail.com>
Sun, 29 Oct 2006 01:21:12 +0000
(18:21 -0700)
committer
William Stein
<wstein@gmail.com>
Sun, 29 Oct 2006 01:21:12 +0000
(18:21 -0700)
Cython/Compiler/Symtab.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/Symtab.py
b/Cython/Compiler/Symtab.py
index caf0ffeb274257728809ed06b0dc4d546d940d45..1d80dcffcef05c9099ba42eb3d54b51843591f37 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):
-
error(pos, "'%s' redeclared (ignoring second declaration)" % name
)
+
warning(pos, "'%s' redeclared (ignoring second declaration)" % name, 1
)
entry = Entry(name, cname, type, pos = pos)
entry.in_cinclude = self.in_cinclude
if name: