From: William Stein Date: Sun, 29 Oct 2006 01:21:12 +0000 (-0700) Subject: Changed that error to a warning. X-Git-Tag: 0.9.6.14~29^2~214 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5e8fb764fdba515352facd5ea01cac8473869383;p=cython.git Changed that error to a warning. --- diff --git a/Cython/Compiler/Symtab.py b/Cython/Compiler/Symtab.py index caf0ffeb..1d80dcff 100644 --- 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: