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

False Creation of Children Nodes #1

Open
adrianmross opened this issue Sep 15, 2023 · 0 comments
Open

False Creation of Children Nodes #1

adrianmross opened this issue Sep 15, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@adrianmross
Copy link
Collaborator

adrianmross commented Sep 15, 2023

https://github.com/adrianmross/standalone-scp/blob/464219e350e8be047590915242ce1099d86ace6e/parser.cpp#L142-L144

When accessing a mapping like curr_node = name_to_node[node_name]; if the key node_name doesn't yet exist in the mapping name_to_node it will create a new entry to the mapping. We don't want this, so should throw an error and handle output.

@adrianmross adrianmross added the bug Something isn't working label Sep 15, 2023
@adrianmross adrianmross self-assigned this Sep 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant