NordicSemiconductor / zcbor

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

zcbor.py: Make generated variable names C-compatible. #339

Closed oyvindronningstad closed 1 year ago

oyvindronningstad commented 1 year ago

I.e. don't start with a digit, don't use accented letters. Also, refactor slightly so the name generation function is not run as often.

Fixes #314