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

Adds support for going up the CDDL AST through parent points #110

Merged
merged 4 commits into from
Oct 31, 2022

Conversation

SebastienGllmt
Copy link
Collaborator

As an example of using this, I implemented logic for a fallback for missing comment DSL names.

However, it doesn't work well because right now in the intermediate step, we can't create fresh variable names when needed as it breaks parsing in future parsing rounds :/
it seems the current solution is to have some predictable suffix index through local state and then calling append_number_if_duplicate, but that's not possible in this case

@SebastienGllmt SebastienGllmt added the CDDL feature Feature that is required for proper parsing of CDDL files label Oct 24, 2022
@SebastienGllmt SebastienGllmt self-assigned this Oct 24, 2022
@SebastienGllmt SebastienGllmt merged commit 5a7e680 into master Oct 31, 2022
@SebastienGllmt SebastienGllmt deleted the parent-ast branch October 31, 2022 12:58
rooooooooob added a commit that referenced this pull request Nov 1, 2022
Manual merging was done due to many conflicts between #110 and #111
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CDDL feature Feature that is required for proper parsing of CDDL files
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant