Commit 74e1345b authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Ignore duplicate signal definition at system level

parent 53455dac
......@@ -3636,7 +3636,13 @@ def system_definition(root, parent):
sig, err, warn = signal(each)
errors.extend(err)
warnings.extend(warn)
system.signals.append(sig)
# Ignore duplicate signal definitions when they are defined at
# system level (only taste can do that)
for each in system.signals:
if each['name'].lower() == sig['name'].lower():
break
else:
system.signals.append(sig)
for each in procedures:
proc, err, warn = procedure(
each, parent=None, context=system)
......
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