hdl._ir: Remove support for the nonexistent unary "+" operator.

This commit is contained in:
Wanda 2024-03-04 00:43:18 +01:00 committed by Catherine
parent c2001fe935
commit 31a12c03d1

View file

@ -710,9 +710,6 @@ class NetlistEmitter:
elif value.operator == 'u':
result = operand_a
signed = False
elif value.operator == '+':
result = operand_a
signed = signed_a
elif value.operator == '-':
operand_a = self.extend(operand_a, signed_a, len(operand_a) + 1)
result = self.emit_operator(module_idx, '-', operand_a,