-
Notifications
You must be signed in to change notification settings - Fork 5
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
Compilation error with action delete #4
Comments
Good catch! |
Sure, I assigned myself. |
I don't know if at this point I could take care of this, so I am removing my assignment. |
This is really sad, unfortunately. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When the YANG data model includes an action called
delete
, like in firewall service [1], the generated code includes methods calleddelete(...)
.This is causing a compilation error because
delete
is a c++ reserved keyword.A possible solution could be a check in code generation tools that adds a suffix to delete method, e.g.
deletes
ordelete_action
.[1]
The text was updated successfully, but these errors were encountered: