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

Changed that error to a warning.

parent 4bbcccf7
...@@ -195,7 +195,7 @@ class Scope: ...@@ -195,7 +195,7 @@ class Scope:
# declared. # declared.
dict = self.entries dict = self.entries
if name and dict.has_key(name): 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 = Entry(name, cname, type, pos = pos)
entry.in_cinclude = self.in_cinclude entry.in_cinclude = self.in_cinclude
if name: 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