Commit 5e8fb764 authored by William Stein's avatar William Stein

Changed that error to a warning.

parent 4bbcccf7
......@@ -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:
......
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