From: William Stein Date: Sun, 29 Oct 2006 01:19:51 +0000 (-0700) Subject: Fixed an error in a call to the error function. X-Git-Tag: 0.9.6.14~29^2~215 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4bbcccf7ead2548cbbf276e85e3d0e64456e56b4;p=cython.git Fixed an error in a call to the error function. --- 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: