NordicSemiconductor / zcbor

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

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

Closed oyvindronningstad closed 2 months ago

oyvindronningstad commented 2 months ago

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