From 4bbcccf7ead2548cbbf276e85e3d0e64456e56b4 Mon Sep 17 00:00:00 2001 From: William Stein Date: Sat, 28 Oct 2006 18:19:51 -0700 Subject: [PATCH] Fixed an error in a call to the error function. --- 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 7f5fc3ee..caf0ffeb 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): - 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: -- 2.26.2