back.rtlil: ignore empty source locations.
This was a bug introduced during refactoring in 2492f490
.
This commit is contained in:
parent
dac6275493
commit
710a8d0bc1
|
@ -66,7 +66,7 @@ class _AttrBuilder:
|
||||||
def _attributes(self, attrs, *, src=None, **kwargs):
|
def _attributes(self, attrs, *, src=None, **kwargs):
|
||||||
for name, value in attrs.items():
|
for name, value in attrs.items():
|
||||||
self._attribute(name, value, **kwargs)
|
self._attribute(name, value, **kwargs)
|
||||||
if src is not None:
|
if src:
|
||||||
self._attribute("src", src, **kwargs)
|
self._attribute("src", src, **kwargs)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue