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

CDDL constants #472

Open
dwjbosman opened this issue Dec 2, 2024 · 0 comments
Open

CDDL constants #472

dwjbosman opened this issue Dec 2, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@dwjbosman
Copy link

In the CDDL I would like to use constants to specify ranges and array sizes

MIN_CONSTANT =1
MAX_CONSTANT =2
MAX_SIZE= 3

x = MIN_CONSTANT .. MAX_CONSTANT
y = [ 1*MAX_SIZE uint]

Currently I get parse errors when trying this.

@oyvindronningstad oyvindronningstad added the enhancement New feature or request label Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants