hdl._ir: Remove support for the nonexistent unary "+"
operator.
This commit is contained in:
parent
c2001fe935
commit
31a12c03d1
|
@ -710,9 +710,6 @@ class NetlistEmitter:
|
||||||
elif value.operator == 'u':
|
elif value.operator == 'u':
|
||||||
result = operand_a
|
result = operand_a
|
||||||
signed = False
|
signed = False
|
||||||
elif value.operator == '+':
|
|
||||||
result = operand_a
|
|
||||||
signed = signed_a
|
|
||||||
elif value.operator == '-':
|
elif value.operator == '-':
|
||||||
operand_a = self.extend(operand_a, signed_a, len(operand_a) + 1)
|
operand_a = self.extend(operand_a, signed_a, len(operand_a) + 1)
|
||||||
result = self.emit_operator(module_idx, '-', operand_a,
|
result = self.emit_operator(module_idx, '-', operand_a,
|
||||||
|
|
Loading…
Reference in a new issue