NordicSemiconductor / zcbor

Low footprint C/C++ CBOR library and Python tool providing code generation from CDDL descriptions.
Apache License 2.0
118 stars 37 forks source link

zcbor.py: Fix bug where NINT literals were not given unique names #423

Closed oyvindronningstad closed 6 months ago

oyvindronningstad commented 6 months ago

For positive integers, the value is part of the name, but this was missed for negative integers. This fixes it.