From 5e8fb764fdba515352facd5ea01cac8473869383 Mon Sep 17 00:00:00 2001 From: William Stein Date: Sat, 28 Oct 2006 18:21:12 -0700 Subject: [PATCH] Changed that error to a warning. --- 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 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: -- 2.26.2