frb v2 - Is there a list of reserved words? #1889
erdemyerebasmaz
started this conversation in
General
Replies: 1 comment 4 replies
-
Ah, I may be mistaken but generator seems to respect C++ reserved keywords now... I was able to reproduce with non shared keywords such as friend, goto, register. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
Recently started migrating to v2 and have an issue with a field name,
template
.We have a struct with a field named
template
and I also added an identically named field with various different types on other structs to test it out and they all ended up getting an underscore suffix after generation, becomingtemplate_
.My question is, is
template
a reserved word now? If it is, is there a work-around annotation or where can I find a resource for the list of reserved words?I couldn't find it in:
Beta Was this translation helpful? Give feedback.
All reactions