Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor .eq, .default, .size, etc. to accept types, not just numbers #489

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

oyvindronningstad
Copy link
Collaborator

@oyvindronningstad oyvindronningstad commented Mar 6, 2025

Fixes #472

Signed-off-by: Øyvind Rønningstad <oyvind.ronningstad@nordicsemi.no>
Start using zcbor-specific exceptions for CDDL parsing errors, and
improve the legibility when using zcbor on command line

Add testing of the exceptions for the CddlParser class and do some
refactoring to make it able to run by itself, since until now it has
only been run as a subclass.

Signed-off-by: Øyvind Rønningstad <oyvind.ronningstad@nordicsemi.no>
@oyvindronningstad oyvindronningstad changed the title Refactor .eq Refactor .eq, .default, .size, etc. to accept types, not just numbers Mar 6, 2025
Signed-off-by: Øyvind Rønningstad <oyvind.ronningstad@nordicsemi.no>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CDDL constants
1 participant