Commit 4bbcccf7 authored by William Stein's avatar William Stein

Fixed an error in a call to the error function.

parent 795eca63
......@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment